Skip to content

Commit

Permalink
Use freckle-automation App instead of token for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
pbrisbin committed Sep 3, 2024
1 parent 1298ba9 commit 09d833d
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ jobs:
steps:
- uses: actions/checkout@v3

- id: token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ vars.FRECKLE_AUTOMATION_APP_ID }}
private-key: ${{ secrets.FRECKLE_AUTOMATION_APP_PRIVATE_KEY }}
repositories: megarepo

# Run once with settings that are sure to find nothing (this repository
# has nothing being kept up to date).
- uses: ./
Expand All @@ -20,7 +27,7 @@ jobs:
- uses: ./
with:
quarantine-days: -1
github-token: ${{ secrets.FRECKLE_AUTOMATION_GITHUB_TOKEN }}
github-token: ${{ steps.token.outputs.token }}
github-repository: freckle/megarepo
dry-run: 1

Expand All @@ -29,7 +36,7 @@ jobs:
with:
exclude-title-regex: 'in /qa$'
quarantine-days: -1
github-token: ${{ secrets.FRECKLE_AUTOMATION_GITHUB_TOKEN }}
github-token: ${{ steps.token.outputs.token }}
github-repository: freckle/megarepo
dry-run: 1

Expand Down

0 comments on commit 09d833d

Please sign in to comment.