From 6d6e4e0debbca3498cbc21db405eec48b3bcc240 Mon Sep 17 00:00:00 2001 From: Tristan Holaday <40547442+TristanHoladay@users.noreply.github.com> Date: Mon, 29 Apr 2024 08:38:42 -0600 Subject: [PATCH] chore: trigger eks nightly when related files are updated (#366) ## Description trigger the eks nightly tests on pull requests only when related files are changed. ## Related Issue Fixes # Relates to # ## Type of change - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [x] Other (security config, docs update, etc) ## Checklist before merging - [ ] Test, docs, adr added or updated as needed - [ ] [Contributor Guide Steps](https://github.com/defenseunicorns/uds-template-capability/blob/main/CONTRIBUTING.md)(https://github.com/defenseunicorns/uds-template-capability/blob/main/CONTRIBUTING.md#submitting-a-pull-request) followed Co-authored-by: Micah Nagel --- .github/workflows/nightly-testing.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/nightly-testing.yaml b/.github/workflows/nightly-testing.yaml index 4b994e128..77afeb45b 100644 --- a/.github/workflows/nightly-testing.yaml +++ b/.github/workflows/nightly-testing.yaml @@ -3,6 +3,12 @@ name: Nightly Testing on: schedule: - cron: '0 6 * * *' # Runs at midnight Mountain every day + pull_request: + paths: + - tasks/iac.yaml + - .github/workflows/test-eks.yaml + - .github/bundles/* + - .github/test-infra/buckets-iac/* jobs: nightly-testing: