From 8ac9f87e86235f1dde9757518492ce4b81da6eeb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 16 Nov 2023 06:05:11 -0500 Subject: [PATCH] build(deps): bump actions/github-script from 6.4.1 to 7.0.0 (#6055) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/false-positive-approvals.yml | 4 ++-- .github/workflows/false-positive-ops.yml | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/false-positive-approvals.yml b/.github/workflows/false-positive-approvals.yml index ef6995eb2c4..a0a21742e61 100644 --- a/.github/workflows/false-positive-approvals.yml +++ b/.github/workflows/false-positive-approvals.yml @@ -29,7 +29,7 @@ jobs: npm install fs - name: Commit Suppression Rule id: fp-ops-commit - uses: actions/github-script@v6.4.1 + uses: actions/github-script@v7.0.0 with: script: | const { execSync } = require("child_process"); @@ -157,7 +157,7 @@ jobs: target-folder: suppressions - name: Message failure if: ${{ failure() || steps.fp-ops-commit.outputs.failed }} - uses: actions/github-script@v6.4.1 + uses: actions/github-script@v7.0.0 with: script: | github.rest.issues.createComment({ diff --git a/.github/workflows/false-positive-ops.yml b/.github/workflows/false-positive-ops.yml index 7d127b98c26..5f84ba1488b 100644 --- a/.github/workflows/false-positive-ops.yml +++ b/.github/workflows/false-positive-ops.yml @@ -15,7 +15,7 @@ jobs: steps: - name: Remove Labels if: contains(github.event.issue.labels.*.name, 'pending more information') - uses: actions/github-script@v6.4.1 + uses: actions/github-script@v7.0.0 with: script: | github.rest.issues.removeLabel({ @@ -50,7 +50,7 @@ jobs: npm install packageurl-js - name: Parse Package URL id: purl-parser - uses: actions/github-script@v6.4.1 + uses: actions/github-script@v7.0.0 env: PURL: ${{ fromJSON(steps.issue-parser.outputs.jsonString).purl }} with: @@ -148,7 +148,7 @@ jobs: path: ${{github.workspace}}/reports - name: Comment on maven issue if: ${{ fromJSON(steps.purl-parser.outputs.result).type == 'maven' }} - uses: actions/github-script@v6.4.1 + uses: actions/github-script@v7.0.0 env: GROUPID: ${{ fromJSON(steps.purl-parser.outputs.result).namespace }} ARTIFACTID: ${{ fromJSON(steps.purl-parser.outputs.result).name }} @@ -199,7 +199,7 @@ jobs: }) - name: Comment on npm issue if: ${{ fromJSON(steps.purl-parser.outputs.result).type == 'npm' }} - uses: actions/github-script@v6.4.1 + uses: actions/github-script@v7.0.0 env: NAME: ${{ fromJSON(steps.purl-parser.outputs.result).name }} VERSION: ${{ fromJSON(steps.purl-parser.outputs.result).version }} @@ -246,7 +246,7 @@ jobs: }) - name: Comment on dotnet issue if: ${{ fromJSON(steps.purl-parser.outputs.result).type == 'nuget' }} - uses: actions/github-script@v6.4.1 + uses: actions/github-script@v7.0.0 env: NAME: ${{ fromJSON(steps.purl-parser.outputs.result).name }} VERSION: ${{ fromJSON(steps.purl-parser.outputs.result).version }} @@ -293,7 +293,7 @@ jobs: - name: Message failure if: ${{ failure() }} - uses: actions/github-script@v6.4.1 + uses: actions/github-script@v7.0.0 with: script: | github.rest.issues.createComment({