Skip to content

Commit

Permalink
fix: forgot to change to app token
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinOvergaard committed Jun 30, 2024
1 parent b2f4deb commit 4b72e45
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/notify-parent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,10 @@ jobs:
# required
app-id: ${{ secrets.OSAAWEBSITEBOT_APPID }}
private-key: ${{ secrets.OSAAWEBSITEBOT_PRIVATEKEY }}
token: ${{ steps.app-token.outputs.token }}

- uses: actions/github-script@v6
with:
github-token: ${{ secrets.PAT }} # Fine-grained GitHub PAT that was saved as repository secret
github-token: ${{ steps.app-token.outputs.token }}
script: |
await github.rest.actions.createworkflowDispatch({
owner: 'openspaceaarhus',
Expand Down

0 comments on commit 4b72e45

Please sign in to comment.