Skip to content

Commit

Permalink
Set github-token for actions
Browse files Browse the repository at this point in the history
  • Loading branch information
phavekes committed Mar 14, 2024
1 parent ddb6661 commit f3d18dd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ jobs:
app: server
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Download the previous produced artefacts
uses: actions/download-artifact@v4
Expand Down Expand Up @@ -154,6 +156,7 @@ jobs:
uses: ardalanamini/auto-changelog@v3
with:
default-commit-type: New Features
github-token: ${{ github.token }}
if: github.event_name != 'workflow_dispatch'

- name: Create release
Expand All @@ -164,6 +167,7 @@ jobs:
prerelease: true
release_name: Release ${{ github.ref_name }}
tag_name: ${{ github.ref_name }}
github-token: ${{ github.token }}
body: |
${{ steps.changelog.outputs.changelog }}
env:
Expand Down

0 comments on commit f3d18dd

Please sign in to comment.