Skip to content

Commit

Permalink
[feat][CI] Run workflows on specific paths only
Browse files Browse the repository at this point in the history
  • Loading branch information
jidicula committed Dec 24, 2020
1 parent c883a66 commit fa06d6c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/dockerimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ name: Docker Image CI

on:
push:
pull_request:
paths:
- 'entrypoint.sh'
- Dockerfile

jobs:

Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/shellcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@

name: shellcheck

# Controls when the action will run. Triggers the workflow on push.
# Controls when the action will run. Triggers the workflow on push and PR.
on:
push:
paths:
- 'entrypoint.sh'

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
Expand Down

0 comments on commit fa06d6c

Please sign in to comment.