Skip to content

Commit

Permalink
chore: adds token generatation to transform rules
Browse files Browse the repository at this point in the history
Signed-off-by: Jennifer Power <[email protected]>
  • Loading branch information
jpower432 committed Oct 13, 2023
1 parent 1249976 commit 62c4363
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/transform-rules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,18 @@ jobs:
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- name: Generate app token
uses: tibdex/github-app-token@v1
id: get_installation_token
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.PRIVATE_KEY }}
permissions: >-
{"contents": "write"}
- name: Clone
uses: actions/checkout@v3
with:
token: ${{ steps.get_installation_token.outputs.token }}
- name: Transform rules
id: transform
uses: jpower432/trestle-bot/actions/rules-transform@bug/single-rule-failure
Expand Down

0 comments on commit 62c4363

Please sign in to comment.