From c99c6a67c1f340edee3d163a17ebb0667c6c1505 Mon Sep 17 00:00:00 2001 From: Tony Arcieri Date: Tue, 31 Oct 2023 10:07:20 -0600 Subject: [PATCH] CI: run workflows when their config files change Adds each of the workflow config files to their own `on`..`paths:` so changes to a workflow's configuration run the respective workflow. --- .github/workflows/aes-gcm-siv.yml | 1 + .github/workflows/aes-siv.yml | 1 + .github/workflows/benches.yml | 1 + .github/workflows/ccm.yml | 1 + .github/workflows/chacha20poly1305.yml | 1 + .github/workflows/deoxys.yml | 1 + .github/workflows/eax.yml | 1 + .github/workflows/mgm.yml | 1 + 8 files changed, 8 insertions(+) diff --git a/.github/workflows/aes-gcm-siv.yml b/.github/workflows/aes-gcm-siv.yml index 955188f8..b7b2d99c 100644 --- a/.github/workflows/aes-gcm-siv.yml +++ b/.github/workflows/aes-gcm-siv.yml @@ -3,6 +3,7 @@ name: aes-gcm-siv on: pull_request: paths: + - ".github/workflows/aes-gcm-siv.yml" - "aes-gcm-siv/**" - "Cargo.*" push: diff --git a/.github/workflows/aes-siv.yml b/.github/workflows/aes-siv.yml index 913fc31d..807f7592 100644 --- a/.github/workflows/aes-siv.yml +++ b/.github/workflows/aes-siv.yml @@ -3,6 +3,7 @@ name: aes-siv on: pull_request: paths: + - ".github/workflows/aes-siv.yml" - "aes-siv/**" - "Cargo.*" push: diff --git a/.github/workflows/benches.yml b/.github/workflows/benches.yml index cf700df8..de2a561c 100644 --- a/.github/workflows/benches.yml +++ b/.github/workflows/benches.yml @@ -3,6 +3,7 @@ name: benches on: pull_request: paths: + - ".github/workflows/benches.yml" - "benches/**" - "Cargo.*" push: diff --git a/.github/workflows/ccm.yml b/.github/workflows/ccm.yml index 75bafd53..4a0f360f 100644 --- a/.github/workflows/ccm.yml +++ b/.github/workflows/ccm.yml @@ -3,6 +3,7 @@ name: ccm on: pull_request: paths: + - ".github/workflows/ccm.yml" - "ccm/**" - "Cargo.*" push: diff --git a/.github/workflows/chacha20poly1305.yml b/.github/workflows/chacha20poly1305.yml index 9a9f14eb..f5929b67 100644 --- a/.github/workflows/chacha20poly1305.yml +++ b/.github/workflows/chacha20poly1305.yml @@ -3,6 +3,7 @@ name: chacha20poly1305 on: pull_request: paths: + - ".github/workflows/chacha20poly1305.yml" - "chacha20poly1305/**" - "Cargo.*" push: diff --git a/.github/workflows/deoxys.yml b/.github/workflows/deoxys.yml index 472a4110..8d475386 100644 --- a/.github/workflows/deoxys.yml +++ b/.github/workflows/deoxys.yml @@ -3,6 +3,7 @@ name: deoxys on: pull_request: paths: + - ".github/workflows/deoxys.yml" - "deoxys/**" - "Cargo.*" push: diff --git a/.github/workflows/eax.yml b/.github/workflows/eax.yml index c813769e..2a31fad0 100644 --- a/.github/workflows/eax.yml +++ b/.github/workflows/eax.yml @@ -3,6 +3,7 @@ name: eax on: pull_request: paths: + - ".github/workflows/eax.yml" - "eax/**" - "Cargo.*" push: diff --git a/.github/workflows/mgm.yml b/.github/workflows/mgm.yml index 71e6d76c..7d74cb07 100644 --- a/.github/workflows/mgm.yml +++ b/.github/workflows/mgm.yml @@ -3,6 +3,7 @@ name: mgm on: pull_request: paths: + - ".github/workflows/mgm.yml" - "mgm/**" - "Cargo.*" push: