From 03faaef295c86d87909eba2a2e4e79b852c48255 Mon Sep 17 00:00:00 2001 From: F-WRunTime Date: Tue, 3 Dec 2024 14:11:50 -0700 Subject: [PATCH] Generate token for all repositories under current owner running the action --- .github/workflows/test.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 802eee5..d3488dc 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -18,8 +18,9 @@ jobs: id: automerge_token uses: actions/create-github-app-token@v1.11.0 with: - app_id: ${{ secrets.AUTOMERGE_APP_ID }} - private_key: ${{ secrets.AUTOMERGE_APP_PRIVATE_KEY }} + app-id: ${{ secrets.AUTOMERGE_APP_ID }} + private-key: ${{ secrets.AUTOMERGE_APP_PRIVATE_KEY }} + owner: ${{ github.repository_owner }} - name: 'Check out devops repo' env: token: ${{ steps.automerge_token.outputs.token }}