From e874871e065f89a88180bbbced77205f5dffe2dc Mon Sep 17 00:00:00 2001 From: Ron Netzer Date: Tue, 1 Mar 2022 15:04:04 +0200 Subject: [PATCH] ci: missing github app token [skip ci] (#30) --- .github/workflows/main.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 69f34ecd..702ca939 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -124,7 +124,6 @@ jobs: if: ${{ fromJSON(needs.setup.outputs.hasChanges) && github.event_name == 'push' && github.ref == 'refs/heads/main' }} needs: [setup, execute] outputs: - github-token: ${{ steps.githubAppAuth.outputs.github-token }} released: ${{ steps.release.outputs.released }} version: ${{ steps.release.outputs.version }} major: ${{ steps.release.outputs.major }} @@ -176,11 +175,17 @@ jobs: with: name: build + - name: Obtain GitHub App Installation Access Token + uses: e-square-io/.github/.github/actions/get-app-token@main + id: githubAppAuth + with: + token: ${{ secrets.GH_AUTH_SECRET }} + - name: Publish action ${{ matrix.package }} if: ${{ contains(needs.setup.outputs.matrix, matrix.package) }} uses: e-square-io/.github/.github/actions/push-to-repo@main with: path: dist/packages/${{ matrix.package }} - github-token: ${{ needs.release.outputs.github-token }} + github-token: ${{ steps.githubAppAuth.outputs.github-token }} version: ${{ needs.release.outputs.version }} repository: ${{ matrix.package }}