Skip to content

Commit

Permalink
Merge branch 'main' into upgrade-nav-settings
Browse files Browse the repository at this point in the history
  • Loading branch information
thejmitchener authored Nov 14, 2024
2 parents d8fdaef + b7508b5 commit 59fdb44
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/update-changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_dispatch:

release:
types: [released]
types: [published]

permissions:
contents: write
Expand All @@ -25,7 +25,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: ${{ github.event.release.tag_name }}
ref: 'main'
token: ${{ steps.get_workflow_token.outputs.token }}

- name: Update Changelog
Expand All @@ -34,12 +34,12 @@ jobs:
latest-version: ${{ github.event.release.tag_name }}
release-notes: ${{ github.event.release.body }}

- name: Amend Commit with Updated CHANGELOG
- name: Commit updated CHANGELOG
env:
GITHUB_TOKEN: ${{ steps.get_workflow_token.outputs.token }}
run: |
git config user.name "fuelviews-app[bot]"
git config user.email "fuelviews-app[bot]@users.noreply.github.com"
git add CHANGELOG.md
git commit --amend --no-edit
git push --force-with-lease origin ${{ github.event.release.tag_name }}
git push origin main --force-with-lease

0 comments on commit 59fdb44

Please sign in to comment.