From fcc265b915e4004ec7051f568d8ac3dbaaec567c Mon Sep 17 00:00:00 2001 From: Alex Gittings Date: Wed, 29 May 2024 00:07:20 +0000 Subject: [PATCH] fixes #1251 --- .github/workflows/tests.yml | 2 +- changelogs/fragments/fix_ci.yml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 changelogs/fragments/fix_ci.yml diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c9d5358e..fa34948a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -15,7 +15,7 @@ on: # yamllint disable-line rule:truthy jobs: changelog: uses: ansible/ansible-content-actions/.github/workflows/changelog.yaml@main - if: github.event_name == 'pull_request' + if: github.event_name == 'pull_request' && github.base_ref == 'devel' build-import: uses: ansible/ansible-content-actions/.github/workflows/build_import.yaml@main ansible-lint: diff --git a/changelogs/fragments/fix_ci.yml b/changelogs/fragments/fix_ci.yml new file mode 100644 index 00000000..a1f8e09d --- /dev/null +++ b/changelogs/fragments/fix_ci.yml @@ -0,0 +1,3 @@ +--- +minor_changes: + - Updated CI to only run changelog job if PR into devel branch is detected. `#1251 `_