From ebbe3c925385057fa7f46ff0ad1b7055d588c3d0 Mon Sep 17 00:00:00 2001 From: patrick brisbin Date: Tue, 3 Sep 2024 15:38:19 -0400 Subject: [PATCH] Use freckle-automation App instead of token for CI --- .github/workflows/ci.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f3d0774..cdd39ad 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: ./ @@ -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 @@ -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