Skip to content

Commit

Permalink
Use Dapla Bot to create releases
Browse files Browse the repository at this point in the history
  • Loading branch information
mmwinther committed Jan 25, 2024
1 parent f0eb29a commit af5f22b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@ jobs:
contents: write
pull-requests: read
steps:
- name: Generate token
id: generate_token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ secrets.DAPLA_BOT_APP_ID }}
private-key: ${{ secrets.DAPLA_BOT_PRIVATE_KEY }}

- name: Check out the repository
uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -75,4 +82,4 @@ jobs:
publish: ${{ steps.check-version.outputs.tag != '' }}
tag: ${{ steps.check-version.outputs.tag }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}

0 comments on commit af5f22b

Please sign in to comment.