Skip to content

Commit

Permalink
Use GitHub App token
Browse files Browse the repository at this point in the history
  • Loading branch information
jbelien committed Jan 1, 2025
1 parent 4acf856 commit 6871d69
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/reusable-update-date.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,17 @@ jobs:
group: update-${{ inputs.city }}
cancel-in-progress: true
steps:
- uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: ${{ vars.BOT_APP_ID }}
private-key: ${{ secrets.BOT_PRIVATE_KEY }}
owner: ${{ github.repository_owner }}

- uses: actions/checkout@v4
with:
repository: ${{ github.repository_owner }}/equalstreetnames
token: ${{ secrets.ACCESS_TOKEN }}
token: ${{ steps.app-token.outputs.token }}
submodules: true

- name: Validate composer.json and composer.lock
Expand Down

0 comments on commit 6871d69

Please sign in to comment.