build(deps): bump actions/github-script from 6.4.1 to 7.0.1

Bumps [actions/github-script](https://github.com/actions/github-script) from 6.4.1 to 7.0.1.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](d7906e4ad0...60a0d83039)

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

Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
dependabot[bot] 2023-12-01 09:03:48 +00:00 committed by Frantisek Sumsal
parent 50613206f2
commit e8bad6615d
2 changed files with 5 additions and 5 deletions

View file

@ -28,7 +28,7 @@ jobs:
steps:
- name: Download Pull Request Metadata artifact
uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea
with:
script: |
const artifacts = await github.rest.actions.listWorkflowRunArtifacts({
@ -54,7 +54,7 @@ jobs:
- run: unzip ${{ env.PULL_REQUEST_METADATA_FILE }}.zip
- name: 'Get Pull Request number'
uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |

View file

@ -30,7 +30,7 @@ jobs:
sync-labels: "" # This is a workaround for issue 18671
- name: Set or remove labels based on systemd development workflow
uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea
if: github.event_name == 'pull_request_target' && github.event.action != 'closed' && !github.event.pull_request.draft
with:
script: |
@ -75,7 +75,7 @@ jobs:
}
- name: Add please-review label on command in issue comment
uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea
if: github.event_name == 'issue_comment' && github.event.issue.pull_request && startsWith(github.event.comment.body, '/please-review')
with:
script: |
@ -87,7 +87,7 @@ jobs:
})
- name: Remove specific labels when PR is closed or merged
uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea
if: github.event_name == 'pull_request_target' && github.event.action == 'closed'
with:
script: |