Skip to content

Commit 07d2263

Browse files
committed
[BugFix] Bump remaining opensearch-build workflow refs to SHA-pinned commit
The first commit covered the five workflows that call get-ci-image-tag.yml. The same old opensearch-build ref (c2498b758c) was still pinned in pr_review.yml (code-diff-analyzer.yml, code-diff-reviewer.yml) and issue-dedupe.yml (issue-dedupe-detect.yml, issue-dedupe-autoclose.yml). Code-Diff-Analyzer failed at action resolution with the same policy error (actions/setup-node@v6, aws-actions/configure-aws-credentials@v6, peter-evans/find-comment@v3, peter-evans/create-or-update-comment@v5 not pinned to full SHA). This dies before the skip-diff-analyzer label can take effect, since the policy check runs before the called workflow executes. Bump all four remaining refs to 761e093b8c13 (opensearch-build #6253), where these actions are SHA-pinned, fully removing the old ref from the repo. Signed-off-by: Eric Wei <mengwei.eric@gmail.com>
1 parent 6c7a464 commit 07d2263

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/issue-dedupe.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ on:
2323
jobs:
2424
detect:
2525
if: (github.event_name == 'issues' && github.event.issue.user.type != 'Bot') || (github.event_name == 'workflow_dispatch' && inputs.job == 'detect')
26-
uses: opensearch-project/opensearch-build/.github/workflows/issue-dedupe-detect.yml@c2498b758c08fb7bc48476509a5fc1b8dd5f7493 # main
26+
uses: opensearch-project/opensearch-build/.github/workflows/issue-dedupe-detect.yml@761e093b8c1349cc07f21c1d681d3b30bf9e1999 # main
2727
permissions:
2828
contents: read
2929
issues: write
@@ -36,7 +36,7 @@ jobs:
3636

3737
auto-close:
3838
if: github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && inputs.job == 'auto-close')
39-
uses: opensearch-project/opensearch-build/.github/workflows/issue-dedupe-autoclose.yml@c2498b758c08fb7bc48476509a5fc1b8dd5f7493 # main
39+
uses: opensearch-project/opensearch-build/.github/workflows/issue-dedupe-autoclose.yml@761e093b8c1349cc07f21c1d681d3b30bf9e1999 # main
4040
permissions:
4141
issues: write
4242
with:

.github/workflows/pr_review.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66

77
jobs:
88
Code-Diff-Analyzer:
9-
uses: opensearch-project/opensearch-build/.github/workflows/code-diff-analyzer.yml@c2498b758c08fb7bc48476509a5fc1b8dd5f7493 # main
9+
uses: opensearch-project/opensearch-build/.github/workflows/code-diff-analyzer.yml@761e093b8c1349cc07f21c1d681d3b30bf9e1999 # main
1010
if: github.repository == 'opensearch-project/sql'
1111
permissions:
1212
id-token: write # github oidc to assume aws roles
@@ -18,7 +18,7 @@ jobs:
1818
update_pr_comment_with_analyzer_report: true
1919

2020
Code-Diff-Reviewer:
21-
uses: opensearch-project/opensearch-build/.github/workflows/code-diff-reviewer.yml@c2498b758c08fb7bc48476509a5fc1b8dd5f7493 # main
21+
uses: opensearch-project/opensearch-build/.github/workflows/code-diff-reviewer.yml@761e093b8c1349cc07f21c1d681d3b30bf9e1999 # main
2222
needs: Code-Diff-Analyzer
2323
if: github.repository == 'opensearch-project/sql'
2424
permissions:

0 commit comments

Comments
 (0)