Skip to content

Commit

Permalink
Merge pull request #144 from sbfnk/update-github-script-action
Browse files Browse the repository at this point in the history
bring github-script action to latest version
  • Loading branch information
lorenzwalthert authored Sep 20, 2024
2 parents f5c859e + 34f217b commit 3242f88
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions actions/comment/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ runs:
steps:
- name: 'Download artifact'
id: 'download'
uses: actions/github-script@v3.1.0
uses: actions/github-script@v7
with:
script: |
var artifacts = await github.actions.listWorkflowRunArtifacts({
Expand All @@ -32,7 +32,7 @@ runs:
shell: bash
- name: 'Comment on PR'
id: 'comment'
uses: actions/github-script@v3
uses: actions/github-script@v7
with:
github-token: ${{ inputs.GITHUB_TOKEN }}
script: |
Expand All @@ -45,7 +45,7 @@ runs:
issue_number: issue_number,
body: body
});
- uses: actions/github-script@v5
- uses: actions/github-script@v7
if: always()
with:
script: |
Expand Down
2 changes: 1 addition & 1 deletion actions/receive/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ inputs:
runs:
using: "composite"
steps:
- uses: actions/github-script@v5
- uses: actions/github-script@v7
id: get-pull
with:
script: |
Expand Down

0 comments on commit 3242f88

Please sign in to comment.