Skip to content

Commit

Permalink
Update actions/github-script to 6.4.1 (#1561)
Browse files Browse the repository at this point in the history
  • Loading branch information
mmorel-35 committed Aug 31, 2023
1 parent cb5d518 commit 497b41f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ jobs:
timeout-minutes: 30
steps:
- name: Create pending status
uses: actions/github-script@0.9.0
uses: actions/github-script@6.4.1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
github.repos.createStatus({
github.rest.repos.createCommitStatus({
owner: context.repo.owner,
repo: context.repo.repo,
sha: context.payload.client_payload.pull_request.head.sha,
Expand Down Expand Up @@ -55,12 +55,12 @@ jobs:
gotestsum --format short-verbose --rerun-fails=5 --packages="./..." --junitfile TEST-unit.xml -- -timeout=30m
- name: Create success status
uses: actions/github-script@0.9.0
uses: actions/github-script@6.4.1
if: success()
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
github.repos.createStatus({
github.rest.repos.createCommitStatus({
owner: context.repo.owner,
repo: context.repo.repo,
sha: context.payload.client_payload.pull_request.head.sha,
Expand All @@ -70,12 +70,12 @@ jobs:
})
- name: Create failure status
uses: actions/github-script@0.9.0
uses: actions/github-script@6.4.1
if: failure()
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
github.repos.createStatus({
github.rest.repos.createCommitStatus({
owner: context.repo.owner,
repo: context.repo.repo,
sha: context.payload.client_payload.pull_request.head.sha,
Expand Down

0 comments on commit 497b41f

Please sign in to comment.