Skip to content

Commit

Permalink
github-actions(deps): bump actions/github-script from 4.1 to 5 (Princ…
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot[bot] authored Sep 28, 2021
1 parent d3741b2 commit 35cf6ec
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/compare-comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

- name: 'Download docs artifacts'
id: docs-artifacts
uses: actions/github-script@v4.1
uses: actions/github-script@v5
with:
script: |
var artifacts = await github.actions.listWorkflowRunArtifacts({
Expand Down Expand Up @@ -68,7 +68,7 @@ jobs:
(diff -r docs-base docs-head && echo 'No differences!' || true) | tee ./result.diff
- name: Post comment with docs diff
uses: actions/github-script@v4.1
uses: actions/github-script@v5
with:
script: |
var fs = require('fs');
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/prepare-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
branch: master

- name: Check for existing release with the reference tag
uses: actions/github-script@v4.1
uses: actions/github-script@v5
id: exist_check
with:
script: |
Expand All @@ -47,7 +47,7 @@ jobs:
}
- name: Create Release
uses: actions/github-script@v4.1
uses: actions/github-script@v5
if: steps.on_master.outputs.on-branch == 'master' && steps.exist_check.outputs.exists == 'no'
with:
# We need custom token since the default one doesn't trigger actions
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ jobs:
TWINE_REPOSITORY: ${{ secrets.TWINE_REPOSITORY }}

- name: Upload dist files to release
uses: actions/github-script@v4.1
uses: actions/github-script@v5
with:
script: |
const fs = require('fs')
Expand Down

0 comments on commit 35cf6ec

Please sign in to comment.