Skip to content

Commit

Permalink
Avoid execution of Github actions for Markdown (#427)
Browse files Browse the repository at this point in the history
Build or differential shellcheck should not
be executed on changes when they are limited
to documentation files (Markdown files)

Resolves: #426

Signed-off-by: Sergio Arroutbi <[email protected]>
  • Loading branch information
sarroutbi authored Jan 11, 2024
1 parent 4764b66 commit c9f2066
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
---
name: build

on: [push, pull_request]
on:
push:
ignore-paths:
- '**.md'
pull_request:
ignore-paths:
- '**.md'

jobs:
build:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/differential-shellcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ name: Differential ShellCheck
on:
pull_request:
branches: [master]
ignore-paths:
- '**.md'

permissions:
contents: read
Expand Down

0 comments on commit c9f2066

Please sign in to comment.