Skip to content
Merged
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
4 changes: 2 additions & 2 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
configuration-path: .github/labeler.yml

- name: Label PR based on size
uses: actions/github-script@v7
uses: actions/github-script@v8
with:
script: |
const pr = context.payload.pull_request;
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
core.info(`Added label: ${sizeLabel} (${totalChanges} changes)`);

- name: Label PR based on title
uses: actions/github-script@v7
uses: actions/github-script@v8
with:
script: |
const pr = context.payload.pull_request;
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/merge-bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
steps:
- name: Parse command
id: command
uses: actions/github-script@v7
uses: actions/github-script@v8
with:
script: |
const comment = context.payload.comment.body.toLowerCase().trim();
Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:

- name: React to comment
if: steps.command.outputs.should_merge == 'true'
uses: actions/github-script@v7
uses: actions/github-script@v8
with:
script: |
// Add rocket emoji to show bot is processing
Expand All @@ -64,7 +64,7 @@ jobs:
- name: Check permissions
if: steps.command.outputs.should_merge == 'true'
id: check_perms
uses: actions/github-script@v7
uses: actions/github-script@v8
with:
script: |
const user = context.payload.comment.user.login;
Expand Down Expand Up @@ -102,7 +102,7 @@ jobs:
- name: Get PR info
if: steps.check_perms.outputs.has_permission == 'true'
id: pr_info
uses: actions/github-script@v7
uses: actions/github-script@v8
with:
script: |
const { data: pr } = await github.rest.pulls.get({
Expand All @@ -124,7 +124,7 @@ jobs:
- name: Check if PR is ready
if: steps.check_perms.outputs.has_permission == 'true'
id: ready
uses: actions/github-script@v7
uses: actions/github-script@v8
with:
script: |
const mergeable = '${{ steps.pr_info.outputs.mergeable }}';
Expand Down Expand Up @@ -157,7 +157,7 @@ jobs:
- name: Wait for checks
if: steps.ready.outputs.ready == 'true'
id: wait_checks
uses: actions/github-script@v7
uses: actions/github-script@v8
with:
script: |
const sha = '${{ steps.pr_info.outputs.sha }}';
Expand Down Expand Up @@ -218,7 +218,7 @@ jobs:

- name: Merge PR
if: steps.wait_checks.outputs.checks_passed == 'true'
uses: actions/github-script@v7
uses: actions/github-script@v8
with:
script: |
const user = context.payload.comment.user.login;
Expand Down Expand Up @@ -262,7 +262,7 @@ jobs:

- name: Delete branch
if: steps.wait_checks.outputs.checks_passed == 'true'
uses: actions/github-script@v7
uses: actions/github-script@v8
with:
script: |
const { data: pr } = await github.rest.pulls.get({
Expand Down
Loading