Skip to content

Commit

Permalink
Update changelog.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jimbrig authored Apr 11, 2024
1 parent 5867821 commit d7e7d9e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion workflow-templates/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@ on:
workflow_dispatch:
push:
branches: [ $default-branch ]
paths-ignore:
- CHANGELOG.md
- .github/**
pull_request:
branches: [ $default-branch ]
types: [ opened, synchronize, closed ]
jobs:
changelog:
name: Generate Changelog
Expand All @@ -27,7 +32,6 @@ jobs:
cat "CHANGELOG.md"
# Commit and push the updated changelog, IF not a pull request
- name: Commit and Push Changelog
if: github.ref == 'refs/heads/$default-branch'
if: github.event_name != 'pull_request'
run: |
git config user.name 'github-actions[bot]'
Expand Down

0 comments on commit d7e7d9e

Please sign in to comment.