Skip to content

Commit b0fe5fa

Browse files
authored
Merge pull request #136 from git-for-windows/dependabot/github_actions/actions/github-script-8
build(deps): bump actions/github-script from 7 to 8
2 parents fa9d473 + 8be157a commit b0fe5fa

File tree

9 files changed

+26
-26
lines changed

9 files changed

+26
-26
lines changed

.github/workflows/build-and-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565

6666
- name: Identify actor
6767
id: actor
68-
uses: actions/github-script@v7
68+
uses: actions/github-script@v8
6969
with:
7070
script: |
7171
const githubApiRequest = require('./github-api-request')

.github/workflows/create-azure-self-hosted-runners.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ jobs:
9797
- uses: actions/checkout@v5
9898
- name: Obtain installation token
9999
id: setup
100-
uses: actions/github-script@v7
100+
uses: actions/github-script@v8
101101
with:
102102
script: |
103103
const appId = ${{ secrets.GH_APP_ID }}

.github/workflows/git-artifacts.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ jobs:
8181
echo "GIT_REV=$(git rev-parse --verify "refs/tags/$EXISTING_GIT_TAG"^0)" >>$GITHUB_ENV
8282
- name: wait if workflow run has not finished yet
8383
if: env.TAG_GIT_WORKFLOW_RUN_ID != ''
84-
uses: actions/github-script@v7
84+
uses: actions/github-script@v8
8585
with:
8686
script: |
8787
const { waitForWorkflowRunToFinish } = require('./workflow-runs')
@@ -93,7 +93,7 @@ jobs:
9393
process.env.TAG_GIT_WORKFLOW_RUN_ID
9494
)
9595
- name: Get bundle-artifacts download URL
96-
uses: actions/github-script@v7
96+
uses: actions/github-script@v8
9797
if: env.TAG_GIT_WORKFLOW_RUN_ID != ''
9898
id: get-bundle-artifacts-url
9999
with:
@@ -189,7 +189,7 @@ jobs:
189189
flavor: build-installers
190190
architecture: ${{env.architecture}}
191191
- name: Create artifact build matrix
192-
uses: actions/github-script@v7
192+
uses: actions/github-script@v8
193193
id: artifact-build-matrix
194194
with:
195195
script: |
@@ -484,7 +484,7 @@ jobs:
484484
repositories: ${{ env.REPO }}
485485
- name: Add a PR comment suggesting to validate the installer manually
486486
if: matrix.artifact.name == 'installer' && github.event.inputs.architecture == 'x86_64'
487-
uses: actions/github-script@v7
487+
uses: actions/github-script@v8
488488
with:
489489
github-token: ${{ steps.pr-comment-token.outputs.token }}
490490
script: |
@@ -577,7 +577,7 @@ jobs:
577577
needs: ['pkg', 'artifacts']
578578
steps:
579579
- name: gather all SHA-256 checksums
580-
uses: actions/github-script@v7
580+
uses: actions/github-script@v8
581581
env:
582582
SHA256SUMS: ${{ toJSON(needs.artifacts.outputs) }}
583583
with:

.github/workflows/open-pr.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
# act as that App in repository secrets `GH_APP_ID`, `GH_APP_PRIVATE_KEY`.
5656
- name: Obtain installation token
5757
id: setup
58-
uses: actions/github-script@v7
58+
uses: actions/github-script@v8
5959
with:
6060
script: |
6161
const appId = ${{ secrets.GH_APP_ID }}
@@ -89,7 +89,7 @@ jobs:
8989
git clone --depth 1 --single-branch -b main "https://github.com/$OWNER/$REPO" "/usr/src/$REPO"
9090
- name: Identify actor
9191
id: actor
92-
uses: actions/github-script@v7
92+
uses: actions/github-script@v8
9393
with:
9494
script: |
9595
const githubApiRequest = require('./github-api-request')
@@ -165,7 +165,7 @@ jobs:
165165
git -c http.extraHeader="Authorization: Basic $auth" push --force origin HEAD:refs/heads/$PACKAGE_TO_UPGRADE-$UPGRADE_TO_VERSION
166166
- name: open PR
167167
if: steps.update.outputs.modified == 'true'
168-
uses: actions/github-script@v7
168+
uses: actions/github-script@v8
169169
with:
170170
github-token: ${{ steps.setup.outputs.token }}
171171
script: |

.github/workflows/prepare-embargoed-branches.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- uses: actions/checkout@v5
2323
- name: identify actor
2424
id: actor
25-
uses: actions/github-script@v7
25+
uses: actions/github-script@v8
2626
with:
2727
script: |
2828
const githubApiRequest = require('./github-api-request')
@@ -45,7 +45,7 @@ jobs:
4545
git config --global credential.helper '' &&
4646
git config --global --add credential.helper cache
4747
- name: configure push token
48-
uses: actions/github-script@v7
48+
uses: actions/github-script@v8
4949
with:
5050
script: |
5151
const { callGit, getPushAuthorizationHeader } = require('./repository-updates.js')

.github/workflows/release-git.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
steps:
3838
- uses: actions/checkout@v5
3939
- name: The `release` branch must be up to date
40-
uses: actions/github-script@v7
40+
uses: actions/github-script@v8
4141
with:
4242
script: |
4343
const sha = await (async () => {
@@ -82,7 +82,7 @@ jobs:
8282
}
8383
- name: Get bundle-artifacts and sha256sums
8484
id: bundle-artifacts
85-
uses: actions/github-script@v7
85+
uses: actions/github-script@v8
8686
with:
8787
script: |
8888
const { downloadBundleArtifacts } = require('./github-release')
@@ -119,7 +119,7 @@ jobs:
119119
path: bundle-artifacts/announce-*
120120
- name: Prepare a comment about the announcement email to the Pull Request
121121
id: announcement
122-
uses: actions/github-script@v7
122+
uses: actions/github-script@v8
123123
with:
124124
script: |
125125
const gitSHA = ${{ toJson(steps.bundle-artifacts.outputs.git-rev) }}

.github/workflows/tag-git.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
steps:
3939
- name: 'Determine tip commit'
4040
if: env.REV == 'main'
41-
uses: actions/github-script@v7
41+
uses: actions/github-script@v8
4242
with:
4343
script: |
4444
if (process.env.SNAPSHOT === '') throw new Error(`Non-snapshot build on the 'main' branch is not supported.`)

.github/workflows/updpkgsums.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
# act as that App in repository secrets `GH_APP_ID`, `GH_APP_PRIVATE_KEY`.
3838
- name: Obtain installation token
3939
id: setup
40-
uses: actions/github-script@v7
40+
uses: actions/github-script@v8
4141
with:
4242
script: |
4343
const appId = ${{ secrets.GH_APP_ID }}
@@ -78,7 +78,7 @@ jobs:
7878
echo "result=$(cygpath -aw "/usr/src/$REPO")" >>$GITHUB_OUTPUT
7979
- name: Determine modified packages
8080
id: determine-packages
81-
uses: actions/github-script@v7
81+
uses: actions/github-script@v8
8282
env:
8383
WORKTREE_PATH: '${{ steps.clone.outputs.result }}'
8484
with:
@@ -104,7 +104,7 @@ jobs:
104104
- name: Identify actor
105105
if: steps.determine-packages.outputs.result != ''
106106
id: actor
107-
uses: actions/github-script@v7
107+
uses: actions/github-script@v8
108108
with:
109109
script: |
110110
const githubApiRequest = require('./github-api-request')
@@ -175,7 +175,7 @@ jobs:
175175
# out where "there" is.
176176
if: steps.update.outputs.modified == 'true'
177177
id: determine-repository
178-
uses: actions/github-script@v7
178+
uses: actions/github-script@v8
179179
with:
180180
script: |
181181
const githubApiRequest = require('./github-api-request')

.github/workflows/upload-snapshot.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- uses: actions/checkout@v5
3333
- name: download `bundle-artifacts`
3434
id: bundle-artifacts
35-
uses: actions/github-script@v7
35+
uses: actions/github-script@v8
3636
with:
3737
script: |
3838
const {
@@ -95,7 +95,7 @@ jobs:
9595
details-url: "https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id}}"
9696
- name: download remaining artifacts
9797
id: download-artifacts
98-
uses: actions/github-script@v7
98+
uses: actions/github-script@v8
9999
with:
100100
script: |
101101
const {
@@ -148,7 +148,7 @@ jobs:
148148
append-text: 'Downloaded all artifacts'
149149
- name: validate
150150
id: validate
151-
uses: actions/github-script@v7
151+
uses: actions/github-script@v8
152152
with:
153153
script: |
154154
const fs = require('fs')
@@ -175,7 +175,7 @@ jobs:
175175
}
176176
- name: configure token
177177
id: snapshots-token
178-
uses: actions/github-script@v7
178+
uses: actions/github-script@v8
179179
with:
180180
result-encoding: string
181181
script: |
@@ -196,7 +196,7 @@ jobs:
196196
]))
197197
return Buffer.from(header.replace(/^Authorization: Basic /, ''), 'base64').toString('utf-8').replace(/^PAT:/, '')
198198
- name: figure out if we need to push commits
199-
uses: actions/github-script@v7
199+
uses: actions/github-script@v8
200200
with:
201201
script: |
202202
// Since `git-snapshots` is a fork, and forks share the same object store, we can
@@ -249,7 +249,7 @@ jobs:
249249
path: gh-pages
250250
token: ${{ steps.snapshots-token.outputs.result }}
251251
- name: update index.html
252-
uses: actions/github-script@v7
252+
uses: actions/github-script@v8
253253
with:
254254
script: |
255255
const urlPrefix = `${{ github.server_url }}/${{ env.OWNER }}/${{ env.SNAPSHOTS_REPO }}/releases/download/${{ steps.bundle-artifacts.outputs.ver }}/`

0 commit comments

Comments
 (0)