Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/publishVersionCheckResults.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
steps:

- name: Search version increment git patch
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
id: search-patch
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -44,7 +44,7 @@ jobs:
persist-credentials: false #Opt out from persisting the default Github-token authentication in order to enable use of the bot's PAT when pushing below

- name: Download version increment git patch
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
id: fetch-patch
if: steps.search-patch.outputs.result
with:
Expand Down Expand Up @@ -106,7 +106,7 @@ jobs:
direction: last

- name: Add or update information comment
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
if: always() && steps.search-patch.outputs.result
env:
FILELIST: ${{ steps.git-commit.outputs.file-list }}
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/rebase-upstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
pull-requests: write
steps:
- name: Add comment with rebase instructions
uses: actions/github-script@v8
uses: actions/github-script@v9
with:
script: |
const comment = `### 🔄 Rebase on Upstream Master
Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:
steps:
- name: Check if user is authorized
id: check-auth
uses: actions/github-script@v8
uses: actions/github-script@v9
with:
script: |
const author_association = context.payload.comment.author_association;
Expand All @@ -73,7 +73,7 @@ jobs:

- name: Add rocket reaction to acknowledge command
if: steps.check-auth.outputs.result == 'true'
uses: actions/github-script@v8
uses: actions/github-script@v9
with:
script: |
github.rest.reactions.createForIssueComment({
Expand All @@ -86,7 +86,7 @@ jobs:
- name: Get PR branch information
if: steps.check-auth.outputs.result == 'true'
id: pr-info
uses: actions/github-script@v8
uses: actions/github-script@v9
with:
script: |
const { data: pr } = await github.rest.pulls.get({
Expand Down Expand Up @@ -197,7 +197,7 @@ jobs:

- name: Add success comment and reaction
if: steps.check-auth.outputs.result == 'true' && steps.rebase.outputs.rebase_failed != 'true' && steps.push.outputs.push_failed != 'true'
uses: actions/github-script@v8
uses: actions/github-script@v9
with:
script: |
await github.rest.reactions.createForIssueComment({
Expand All @@ -216,7 +216,7 @@ jobs:

- name: Add rebase failure comment and reaction
if: steps.check-auth.outputs.result == 'true' && failure() && steps.rebase.outputs.rebase_failed == 'true'
uses: actions/github-script@v8
uses: actions/github-script@v9
with:
script: |
await github.rest.reactions.createForIssueComment({
Expand Down Expand Up @@ -256,7 +256,7 @@ jobs:

- name: Add push failure comment and reaction
if: steps.check-auth.outputs.result == 'true' && failure() && steps.push.outputs.push_failed == 'true'
uses: actions/github-script@v8
uses: actions/github-script@v9
with:
script: |
await github.rest.reactions.createForIssueComment({
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/sync-upstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ jobs:
steps:
- name: Check user permission
id: check
uses: actions/github-script@v8
uses: actions/github-script@v9
with:
result-encoding: string
script: |
Expand All @@ -123,7 +123,7 @@ jobs:

- name: Add unauthorized reaction
if: steps.check.outputs.result != 'true'
uses: actions/github-script@v8
uses: actions/github-script@v9
with:
script: |
await github.rest.reactions.createForIssueComment({
Expand All @@ -145,7 +145,7 @@ jobs:
run: exit 1

- name: Add rocket reaction
uses: actions/github-script@v8
uses: actions/github-script@v9
with:
script: |
await github.rest.reactions.createForIssueComment({
Expand Down Expand Up @@ -244,7 +244,7 @@ jobs:

- name: Add success comment
if: steps.push.outputs.success == 'true'
uses: actions/github-script@v8
uses: actions/github-script@v9
with:
script: |
await github.rest.issues.createComment({
Expand All @@ -263,7 +263,7 @@ jobs:

- name: Add failure comment
if: steps.push.outputs.success == 'false'
uses: actions/github-script@v8
uses: actions/github-script@v9
with:
script: |
const comment = `❌ Sync failed. Please check the workflow logs for details.
Expand Down
Loading