ci: fix @electron/github-app-auth CLI usage (#39507)
This commit is contained in:
parent
22c359ac4f
commit
1d20ec5b99
4 changed files with 4 additions and 4 deletions
2
.github/workflows/branch-created.yml
vendored
2
.github/workflows/branch-created.yml
vendored
|
@ -64,7 +64,7 @@ jobs:
|
||||||
env:
|
env:
|
||||||
RELEASE_BOARD_GH_APP_CREDS: ${{ secrets.RELEASE_BOARD_GH_APP_CREDS }}
|
RELEASE_BOARD_GH_APP_CREDS: ${{ secrets.RELEASE_BOARD_GH_APP_CREDS }}
|
||||||
run: |
|
run: |
|
||||||
TOKEN=$(npx @electron/github-app-auth --creds=$RELEASE_BOARD_GH_APP_CREDS --org electron)
|
TOKEN=$(npx @electron/github-app-auth --creds=$RELEASE_BOARD_GH_APP_CREDS --org=electron)
|
||||||
echo "TOKEN=$TOKEN" >> "$GITHUB_OUTPUT"
|
echo "TOKEN=$TOKEN" >> "$GITHUB_OUTPUT"
|
||||||
- name: Create Release Project Board
|
- name: Create Release Project Board
|
||||||
if: ${{ steps.check-major-version.outputs.MAJOR }}
|
if: ${{ steps.check-major-version.outputs.MAJOR }}
|
||||||
|
|
2
.github/workflows/issue-labeled.yml
vendored
2
.github/workflows/issue-labeled.yml
vendored
|
@ -19,7 +19,7 @@ jobs:
|
||||||
RELEASE_BOARD_GH_APP_CREDS: ${{ secrets.RELEASE_BOARD_GH_APP_CREDS }}
|
RELEASE_BOARD_GH_APP_CREDS: ${{ secrets.RELEASE_BOARD_GH_APP_CREDS }}
|
||||||
run: |
|
run: |
|
||||||
set -eo pipefail
|
set -eo pipefail
|
||||||
TOKEN=$(npx @electron/github-app-auth --creds=$RELEASE_BOARD_GH_APP_CREDS --org electron)
|
TOKEN=$(npx @electron/github-app-auth --creds=$RELEASE_BOARD_GH_APP_CREDS --org=electron)
|
||||||
echo "TOKEN=$TOKEN" >> "$GITHUB_OUTPUT"
|
echo "TOKEN=$TOKEN" >> "$GITHUB_OUTPUT"
|
||||||
- name: Set status
|
- name: Set status
|
||||||
if: ${{ steps.generate-token.outputs.TOKEN }}
|
if: ${{ steps.generate-token.outputs.TOKEN }}
|
||||||
|
|
2
.github/workflows/issue-unlabeled.yml
vendored
2
.github/workflows/issue-unlabeled.yml
vendored
|
@ -28,7 +28,7 @@ jobs:
|
||||||
RELEASE_BOARD_GH_APP_CREDS: ${{ secrets.RELEASE_BOARD_GH_APP_CREDS }}
|
RELEASE_BOARD_GH_APP_CREDS: ${{ secrets.RELEASE_BOARD_GH_APP_CREDS }}
|
||||||
run: |
|
run: |
|
||||||
set -eo pipefail
|
set -eo pipefail
|
||||||
TOKEN=$(npx @electron/github-app-auth --creds=$RELEASE_BOARD_GH_APP_CREDS --org electron)
|
TOKEN=$(npx @electron/github-app-auth --creds=$RELEASE_BOARD_GH_APP_CREDS --org=electron)
|
||||||
echo "TOKEN=$TOKEN" >> "$GITHUB_OUTPUT"
|
echo "TOKEN=$TOKEN" >> "$GITHUB_OUTPUT"
|
||||||
- name: Set status
|
- name: Set status
|
||||||
if: ${{ steps.generate-token.outputs.TOKEN }}
|
if: ${{ steps.generate-token.outputs.TOKEN }}
|
||||||
|
|
2
.github/workflows/pull-request-labeled.yml
vendored
2
.github/workflows/pull-request-labeled.yml
vendored
|
@ -19,7 +19,7 @@ jobs:
|
||||||
RELEASE_BOARD_GH_APP_CREDS: ${{ secrets.RELEASE_BOARD_GH_APP_CREDS }}
|
RELEASE_BOARD_GH_APP_CREDS: ${{ secrets.RELEASE_BOARD_GH_APP_CREDS }}
|
||||||
run: |
|
run: |
|
||||||
set -eo pipefail
|
set -eo pipefail
|
||||||
TOKEN=$(npx @electron/github-app-auth --creds=$RELEASE_BOARD_GH_APP_CREDS --org electron)
|
TOKEN=$(npx @electron/github-app-auth --creds=$RELEASE_BOARD_GH_APP_CREDS --org=electron)
|
||||||
echo "TOKEN=$TOKEN" >> "$GITHUB_OUTPUT"
|
echo "TOKEN=$TOKEN" >> "$GITHUB_OUTPUT"
|
||||||
- name: Set status
|
- name: Set status
|
||||||
if: ${{ steps.generate-token.outputs.TOKEN }}
|
if: ${{ steps.generate-token.outputs.TOKEN }}
|
||||||
|
|
Loading…
Reference in a new issue