diff --git a/.github/workflows/trigger-docs.yml b/.github/workflows/trigger-docs.yml index 8b62778bf..645d976b5 100644 --- a/.github/workflows/trigger-docs.yml +++ b/.github/workflows/trigger-docs.yml @@ -32,12 +32,14 @@ jobs: - name: Generate token id: generate_token - uses: actions/create-github-app-token@v1 + uses: actions/create-github-app-token@v2 with: app-id: ${{ secrets.TEMPORAL_CICD_APP_ID }} private-key: ${{ secrets.TEMPORAL_CICD_PRIVATE_KEY }} owner: ${{ github.repository_owner }} - repositories: documentation # generate a token with permissions to trigger GHA in documentation repo + # Generate a token with permissions to trigger GHA in documentation repo. + repositories: | + documentation - name: Trigger Documentation Workflow env: diff --git a/.github/workflows/trigger-publish.yml b/.github/workflows/trigger-publish.yml index 04eee3192..6f65fefe4 100644 --- a/.github/workflows/trigger-publish.yml +++ b/.github/workflows/trigger-publish.yml @@ -18,10 +18,14 @@ jobs: steps: - name: Generate a token id: generate_token - uses: tibdex/github-app-token@b62528385c34dbc9f38e5f4225ac829252d1ea92 + uses: actions/create-github-app-token@v2 with: - app_id: ${{ secrets.TEMPORAL_CICD_APP_ID }} - private_key: ${{ secrets.TEMPORAL_CICD_PRIVATE_KEY }} + app-id: ${{ secrets.TEMPORAL_CICD_APP_ID }} + private-key: ${{ secrets.TEMPORAL_CICD_PRIVATE_KEY }} + owner: temporalio + repositories: | + cli + docker-builds - name: Dispatch docker builds Github Action env: