Skip to content

Commit f1f966d

Browse files
committed
Fixes #1251
1 parent a3d59dc commit f1f966d

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on: # yamllint disable-line rule:truthy
1515
jobs:
1616
changelog:
1717
uses: ansible/ansible-content-actions/.github/workflows/changelog.yaml@main
18-
if: github.event_name == 'pull_request'
18+
if: github.event_name == 'pull_request' && github.base_ref == 'devel'
1919
build-import:
2020
uses: ansible/ansible-content-actions/.github/workflows/build_import.yaml@main
2121
ansible-lint:

changelogs/fragments/fix_ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
---
2+
minor_changes:
3+
- Updated CI to only run changelog job if PR into devel branch is detected. `#1251 <https://github.com/netbox-community/ansible_modules/issues/1251>`_

0 commit comments

Comments
 (0)