Skip to content

Commit

Permalink
Update actions/github-script action to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate-bot committed Jul 9, 2021
1 parent 98ef320 commit 52a11ae
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:

- name: Create issue if baseurl rule is violated
if: steps.baseurl.outcome == 'failure'
uses: actions/github-script@0.6.0
uses: actions/github-script@v4.0.2
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
Expand All @@ -66,7 +66,7 @@ jobs:

- name: Create Issue if User Pages rule is violated
if: steps.userpage.outcome == 'failure'
uses: actions/github-script@0.6.0
uses: actions/github-script@v4.0.2
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/issue_reminder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
steps:

- name: Comment on issue
uses: actions/github-script@0.6.0
uses: actions/github-script@v4.0.2
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/setup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ jobs:
GH_USERNAME: ${{ github.event.commits[0].author.username }}

- name: Open a PR
uses: actions/github-script@0.5.0
uses: actions/github-script@v4.0.2
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/upgrade.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
(github.event.issue.author_association != 'OWNER') &&
(github.event.issue.author_association != 'COLLABORATOR') &&
(github.event.issue.author_association != 'MEMBER')
uses: actions/github-script@0.6.0
uses: actions/github-script@v4.0.2
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
Expand Down Expand Up @@ -196,7 +196,7 @@ jobs:
- name: Open a PR
if: steps.check_version.outputs.vbump == 'true'
id: pr
uses: actions/github-script@0.6.0
uses: actions/github-script@v4.0.2
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
Expand All @@ -214,7 +214,7 @@ jobs:
- name: Comment on issue if failure
if: failure() && (steps.check_version.outputs.vbump == 'true')
uses: actions/github-script@0.6.0
uses: actions/github-script@v4.0.2
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
Expand All @@ -232,7 +232,7 @@ jobs:

- name: Comment on issue
if: steps.check_version.outputs.vbump == 'true'
uses: actions/github-script@0.6.0
uses: actions/github-script@v4.0.2
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
Expand All @@ -250,7 +250,7 @@ jobs:

- name: Comment on issue if version has not changed
if: steps.check_version.outputs.vbump == 'false'
uses: actions/github-script@0.6.0
uses: actions/github-script@v4.0.2
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
Expand All @@ -263,7 +263,7 @@ jobs:
- name: Close Issue
if: always()
uses: actions/github-script@0.6.0
uses: actions/github-script@v4.0.2
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
Expand Down

0 comments on commit 52a11ae

Please sign in to comment.