Merge pull request #21265 from backstage/renovate/actions-github-script-7.x

chore(deps): update actions/github-script action to v7
This commit is contained in:
Fredrik Adelöw
2023-11-15 10:33:55 +01:00
committed by GitHub
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ jobs:
node generate.js ${{ github.event.pull_request.base.sha }} ${{ github.event.pull_request.head.sha }} > message.txt
- name: Post Message
uses: actions/github-script@v6.4.1
uses: actions/github-script@v7.0.0
env:
ISSUE_NUMBER: ${{ github.event.pull_request.number }}
with:
+1 -1
View File
@@ -23,7 +23,7 @@ jobs:
- name: Read PR Number
id: pr-number
uses: actions/github-script@v6.4.1
uses: actions/github-script@v7.0.0
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
@@ -26,7 +26,7 @@ jobs:
git config --global user.email noreply@backstage.io
git config --global user.name 'Github changeset workflow'
- name: Generate changeset
uses: actions/github-script@v6.4.1
uses: actions/github-script@v7.0.0
with:
script: |
const { promises: fs } = require('fs');
+1 -1
View File
@@ -53,7 +53,7 @@ jobs:
git push
- name: Dispatch update-helper update
uses: actions/github-script@v6.4.1
uses: actions/github-script@v7.0.0
with:
github-token: ${{ secrets.GH_SERVICE_ACCOUNT_TOKEN }}
# TODO(Rugvip): Remove the create-app dispatch once we've been on the release version for a while
@@ -26,7 +26,7 @@ jobs:
git config --global user.email noreply@backstage.io
git config --global user.name 'Github changeset workflow'
- name: Generate changeset
uses: actions/github-script@v6.4.1
uses: actions/github-script@v7.0.0
with:
script: |
const { promises: fs } = require("fs");
+1 -1
View File
@@ -25,7 +25,7 @@ jobs:
- name: 'Download artifacts'
# Fetch output (zip archive) from the workflow run that triggered this workflow.
uses: actions/github-script@v6.4.1
uses: actions/github-script@v7.0.0
with:
script: |
let allArtifacts = await github.rest.actions.listWorkflowRunArtifacts({