Skip to content

Commit

Permalink
CI: build CHANGELOG on master only
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasAdam committed Nov 30, 2020
1 parent b5dab7b commit f9855af
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ccpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ jobs:
needs: build
steps:
- name: Checkout code
if: github.event.pull_request.merged == 'true'
if: github.ref == 'refs/heads/master'
uses: actions/checkout@v2
with:
ref: master
- name: Update CHANGELOG
if: github.event.pull_request.merged == 'true'
if: github.ref == 'refs/heads/master'
uses: heinrichreimer/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -40,7 +40,7 @@ jobs:
author: true
unreleased: true
- name: Commit CHANGELOG
if: github.event.pull_request.merged == 'true'
if: github.ref == 'refs/heads/master'
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_user_name: Fvwm Automation
Expand Down

0 comments on commit f9855af

Please sign in to comment.