Skip to content

Commit

Permalink
chore: use github-app token in pubdev-score workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
smallTrogdor authored Jun 6, 2024
1 parent 1995234 commit 96f067f
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/pubdev_score.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,18 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Generate Token
id: app-token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ vars.APPBAKERYGITHUBAPP_APPID }}
private-key: ${{ secrets.APPBAKERYGITHUBAPP_PRIVATEKEY }}
- name: Clone repository.
uses: actions/checkout@v4
with:
ref: main
token: ${{ steps.app-token.outputs.token }}
- name: Evaluate Score
uses: axel-op/dart-package-analyzer@v3
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
githubToken: ${{ steps.app-token.outputs.token }}

0 comments on commit 96f067f

Please sign in to comment.