Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Bump actions/github-script from 5 to 6 #1096

Open
wants to merge 1 commit into
base: release/22.1.x
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/publish-edge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ jobs:
HAS_SECRET: ${{ secrets.NPM_AUTH_TOKEN != null }}
- name: Succeed job on existing NPM_AUTH_TOKEN
if: ${{ steps.check_token.outputs.token_exists == 'true' }}
uses: actions/github-script@v5
uses: actions/github-script@v6
with:
script: |
core.setOutput('Success. NPM_AUTH_TOKEN is present in repository secrets.');
- name: Fail on missing NPM_AUTH_TOKEN
if: ${{ steps.check_token.outputs.token_exists == 'false' }}
uses: actions/github-script@v5
uses: actions/github-script@v6
with:
script: |
core.setFailed('Failure: No NPM_AUTH_TOKEN present in repository secrets.');
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ jobs:
HAS_SECRET: ${{ secrets.NPM_AUTH_TOKEN != null }}
- name: Succeed job on existing NPM_AUTH_TOKEN
if: ${{ steps.check_token.outputs.token_exists == 'true' }}
uses: actions/github-script@v5
uses: actions/github-script@v6
with:
script: |
core.setOutput('Success. NPM_AUTH_TOKEN is present in repository secrets.');
- name: Fail on missing NPM_AUTH_TOKEN
if: ${{ steps.check_token.outputs.token_exists == 'false' }}
uses: actions/github-script@v5
uses: actions/github-script@v6
with:
script: |
core.setFailed('Failure: No NPM_AUTH_TOKEN present in repository secrets.');
Expand Down