Skip to content

Commit

Permalink
CI: run workflows when their config files change (#563)
Browse files Browse the repository at this point in the history
Adds each of the workflow config files to their own `on`..`paths:` so
changes to a workflow's configuration run the respective workflow.
  • Loading branch information
tarcieri committed Oct 31, 2023
1 parent 8dfdd8c commit 42a1676
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/aes-gcm-siv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: aes-gcm-siv
on:
pull_request:
paths:
- ".github/workflows/aes-gcm-siv.yml"
- "aes-gcm-siv/**"
- "Cargo.*"
push:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/aes-siv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: aes-siv
on:
pull_request:
paths:
- ".github/workflows/aes-siv.yml"
- "aes-siv/**"
- "Cargo.*"
push:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/benches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: benches
on:
pull_request:
paths:
- ".github/workflows/benches.yml"
- "benches/**"
- "Cargo.*"
push:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ccm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: ccm
on:
pull_request:
paths:
- ".github/workflows/ccm.yml"
- "ccm/**"
- "Cargo.*"
push:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/chacha20poly1305.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: chacha20poly1305
on:
pull_request:
paths:
- ".github/workflows/chacha20poly1305.yml"
- "chacha20poly1305/**"
- "Cargo.*"
push:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/deoxys.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: deoxys
on:
pull_request:
paths:
- ".github/workflows/deoxys.yml"
- "deoxys/**"
- "Cargo.*"
push:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/eax.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: eax
on:
pull_request:
paths:
- ".github/workflows/eax.yml"
- "eax/**"
- "Cargo.*"
push:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/mgm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: mgm
on:
pull_request:
paths:
- ".github/workflows/mgm.yml"
- "mgm/**"
- "Cargo.*"
push:
Expand Down

0 comments on commit 42a1676

Please sign in to comment.