From d7e7d9e113b6f88da34d039beedb3c97b432a4b8 Mon Sep 17 00:00:00 2001 From: Jimmy Briggs Date: Wed, 10 Apr 2024 21:30:46 -0400 Subject: [PATCH] Update changelog.yml --- workflow-templates/changelog.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/workflow-templates/changelog.yml b/workflow-templates/changelog.yml index e4ccfec..0d28110 100644 --- a/workflow-templates/changelog.yml +++ b/workflow-templates/changelog.yml @@ -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 @@ -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]'