/.github/workflows: bump actions/github-script to v7

This commit is contained in:
coffeegoddd
2024-04-15 11:43:38 -07:00
parent bcea155fa8
commit 3f7465db9b
9 changed files with 12 additions and 12 deletions
+2 -2
View File
@@ -33,7 +33,7 @@ jobs:
steps:
- name: Get Open Bump PRs
id: get-stale-prs
uses: actions/github-script@v6
uses: actions/github-script@v7
env:
LABEL: ${{ needs.get-label.outputs.label }}
with:
@@ -151,7 +151,7 @@ jobs:
steps:
- name: Comment/Close Stale PRs
id: get-stale-prs
uses: actions/github-script@v6
uses: actions/github-script@v7
env:
PULL: ${{ toJson(matrix.pull) }}
SUPERSEDED_BY: ${{ needs.open-bump-pr.outputs.latest-pr }}
@@ -46,7 +46,7 @@ jobs:
env:
TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }}
- name: Post Changelog to Release
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
debug: true
github-token: ${{ secrets.REPO_ACCESS_TOKEN }}
+1 -1
View File
@@ -45,7 +45,7 @@ jobs:
steps:
- name: Format
id: format_files
uses: actions/github-script@v6
uses: actions/github-script@v7
env:
FILES: ${{ needs.get-files.outputs.files }}
with:
@@ -52,7 +52,7 @@ jobs:
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
- name: Get pull number
uses: actions/github-script@v6
uses: actions/github-script@v7
id: get_pull_number
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
+1 -1
View File
@@ -52,7 +52,7 @@ jobs:
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
- name: Get pull number
uses: actions/github-script@v6
uses: actions/github-script@v7
id: get_pull_number
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
@@ -52,7 +52,7 @@ jobs:
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
- name: Get pull number
uses: actions/github-script@v6
uses: actions/github-script@v7
id: get_pull_number
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
+3 -3
View File
@@ -37,7 +37,7 @@ jobs:
KEY: ${{ github.event.client_payload.key }}
BUCKET: ${{ github.event.client_payload.bucket }}
- name: Post results to PR
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
github-token: ${{ secrets.REPO_ACCESS_TOKEN || secrets.GITHUB_TOKEN }}
script: |
@@ -62,7 +62,7 @@ jobs:
FORMAT: ${{ github.event.client_payload.noms_bin_format }}
- name: Remove Passing Labels if regression detected
if: ${{ github.event.client_payload.correctness_info.is_regression == true && github.event.client_payload.job_type == 'sql-correctness' }}
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
github-token: ${{ secrets.REPO_ACCESS_TOKEN || secrets.GITHUB_TOKEN }}
script: |
@@ -100,7 +100,7 @@ jobs:
LABEL: 'correctness_approved'
- name: Add Passing Labels if no regression detected
if: ${{ github.event.client_payload.correctness_info.is_regression != true && github.event.client_payload.job_type == 'sql-correctness' }}
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
github-token: ${{ secrets.REPO_ACCESS_TOKEN || secrets.GITHUB_TOKEN }}
script: |
+1 -1
View File
@@ -44,7 +44,7 @@ jobs:
name: Trigger SQL Correctness K8s Workflow
steps:
- name: Get pull number
uses: actions/github-script@v6
uses: actions/github-script@v7
id: get_pull_number
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
@@ -52,7 +52,7 @@ jobs:
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
- name: Get pull number
uses: actions/github-script@v6
uses: actions/github-script@v7
id: get_pull_number
with:
github-token: ${{ secrets.GITHUB_TOKEN }}