mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-03 00:04:47 -04:00
Bump actions/github-script from 7 to 8
Bumps [actions/github-script](https://github.com/actions/github-script) from 7 to 8. - [Release notes](https://github.com/actions/github-script/releases) - [Commits](https://github.com/actions/github-script/compare/v7...v8) --- updated-dependencies: - dependency-name: actions/github-script dependency-version: '8' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
parent
b09b717a33
commit
a2c5d4bdf0
4
.github/workflows/build_artifact_comment.yml
vendored
4
.github/workflows/build_artifact_comment.yml
vendored
@ -27,7 +27,7 @@ jobs:
|
||||
steps:
|
||||
- name: 'Download artifact'
|
||||
id: download_artifact
|
||||
uses: actions/github-script@v7
|
||||
uses: actions/github-script@v8
|
||||
with:
|
||||
script: |
|
||||
const fs = require('fs');
|
||||
@ -71,7 +71,7 @@ jobs:
|
||||
unzip data-*.zip
|
||||
|
||||
- name: 'Post artifact download link as comment on PR'
|
||||
uses: actions/github-script@v7
|
||||
uses: actions/github-script@v8
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
script: |
|
||||
|
@ -18,7 +18,7 @@ jobs:
|
||||
run: |
|
||||
python ./scripts/get_latest_qgis_versions.py --release="stable" --github_token=${{ secrets.GITHUB_TOKEN }} >> $GITHUB_ENV
|
||||
- name: Write comment
|
||||
uses: actions/github-script@v7
|
||||
uses: actions/github-script@v8
|
||||
with:
|
||||
script: |
|
||||
const {ISSUE_BODY, QGIS_VERSION_LTR_PATCH, QGIS_VERSION_STABLE_PATCH} = process.env // Latest released version identified using get_latest_qgis_versions
|
||||
|
4
.github/workflows/pre-commit.yaml
vendored
4
.github/workflows/pre-commit.yaml
vendored
@ -66,7 +66,7 @@ jobs:
|
||||
|
||||
- name: Listen for `/fix-precommit` comment
|
||||
if: failure() && github.event_name == 'issue_comment' && github.event.comment.body == '/fix-precommit' && github.event.issue.pull_request
|
||||
uses: actions/github-script@v7
|
||||
uses: actions/github-script@v8
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
script: |
|
||||
@ -88,7 +88,7 @@ jobs:
|
||||
|
||||
- name: Comment on PR if pre-commit failed
|
||||
if: failure() && github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository
|
||||
uses: actions/github-script@v7
|
||||
uses: actions/github-script@v8
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
script: |
|
||||
|
4
.github/workflows/write_failure_comment.yml
vendored
4
.github/workflows/write_failure_comment.yml
vendored
@ -24,7 +24,7 @@ jobs:
|
||||
steps:
|
||||
- name: 'Download artifact'
|
||||
id: download_artifact
|
||||
uses: actions/github-script@v7
|
||||
uses: actions/github-script@v8
|
||||
with:
|
||||
script: |
|
||||
let allArtifacts = await github.rest.actions.listWorkflowRunArtifacts({
|
||||
@ -58,7 +58,7 @@ jobs:
|
||||
|
||||
- name: 'Post test report markdown summary as comment on PR'
|
||||
if: fromJSON(steps.download_artifact.outputs.artifact_id) > 0
|
||||
uses: actions/github-script@v7
|
||||
uses: actions/github-script@v8
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
script: |
|
||||
|
Loading…
x
Reference in New Issue
Block a user