Skip to content

Commit

Permalink
Bump actions/github-script from 6 to 7
Browse files Browse the repository at this point in the history
Bumps [actions/github-script](https://github.com/actions/github-script) from 6 to 7.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](actions/github-script@v6...v7)

---
updated-dependencies:
- dependency-name: actions/github-script
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
  • Loading branch information
dependabot[bot] authored Nov 14, 2023
1 parent 4216fc9 commit e975a8a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/pr_build_comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v4
- name: Make text for build comment
id: comment-text
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
script: |
const utils = require('./.github/githubUtils.js')
Expand All @@ -23,22 +23,22 @@ jobs:
run: unzip pr_number.zip
- name: Get PR number
id: pr-number
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
script: |
const fs = require('fs');
const prNumber = Number(fs.readFileSync('./pr_number'));
return prNumber
- name: Find build comment
id: find-comment
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
script: |
const utils = require('./.github/githubUtils.js')
return await utils.findComment(github, context, ${{steps.pr-number.outputs.result}})
- name: Create build comment
if: ${{!steps.find-comment.outputs.result}}
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
Expand All @@ -50,7 +50,7 @@ jobs:
})
- name: Update build comment
if: ${{steps.find-comment.outputs.result}}
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/upload_github_release_asset.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
with:
name: ${{ inputs.filename }}
path: dist
- uses: actions/github-script@v6
- uses: actions/github-script@v7
with:
script: |
const utils = require('./.github/githubUtils.js')
Expand Down

0 comments on commit e975a8a

Please sign in to comment.