diff --git a/.github/workflows/check_new_repo.yml b/.github/workflows/check_new_repo.yml index 3aae53b6..5303a337 100644 --- a/.github/workflows/check_new_repo.yml +++ b/.github/workflows/check_new_repo.yml @@ -16,6 +16,13 @@ jobs: name: Check if repository is compliant runs-on: ubuntu-latest steps: + - name: Create GitHub App Token + uses: actions/create-github-app-token@v1 + id: app-token + with: + app-id: ${{ vars.REPO_COMPLIANCE_BOT_APP_ID }} + private-key: ${{ secrets.REPO_COMPLIANCE_BOT_PRIVATE_KEY }} + - name: Checkout uses: actions/checkout@v3 @@ -32,4 +39,4 @@ jobs: uses: ./.github/actions/check_compliance/ with: repo-name: ${{ steps.get-repo-name.outputs.repo-name }} - github-token: ${{ secrets.COMPLIANCE_READ_REPO_PERMISSIONS }} + github-token: ${{ steps.app-token.outputs.token }} diff --git a/open-repositories.txt b/open-repositories.txt index 82d86d60..712002a8 100644 --- a/open-repositories.txt +++ b/open-repositories.txt @@ -60,7 +60,6 @@ sdk setup-dfx stable-structures standalone-sig-verifier-web -test-compliant-repository-public test-state-machine-client threshold vessel