Skip to content

Commit

Permalink
chore: CI: update github-script (#3002)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kha authored Dec 1, 2023
1 parent ea5b55b commit 5937f42
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
- name: Configure build matrix
id: set-matrix
uses: actions/github-script@v3
uses: actions/github-script@v7
with:
script: |
const quick = ${{ steps.set-quick.outputs.quick }};
Expand Down Expand Up @@ -433,7 +433,7 @@ jobs:
if: ${{ always() }}
steps:
- if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')
uses: actions/github-script@v3
uses: actions/github-script@v7
with:
script: |
core.setFailed('Some jobs failed')
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/labels-from-comments.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

steps:
- name: Add label based on comment
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/pr-title.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check PR title
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
script: |
const msg = context.payload.pull_request? context.payload.pull_request.title : context.payload.merge_group.head_commit.message;
Expand Down

0 comments on commit 5937f42

Please sign in to comment.