From 599b753d52ab5eccd66abe77d387ceb7eca37d21 Mon Sep 17 00:00:00 2001 From: Martijn Verburg Date: Fri, 15 Aug 2025 09:10:10 +1200 Subject: [PATCH 1/3] Update slack action, fix typo --- .github/workflows/code-freeze.yml | 9 ++++----- .github/workflows/ossf-scorecard.yml | 2 +- .gitignore | 2 ++ 3 files changed, 7 insertions(+), 6 deletions(-) create mode 100644 .gitignore diff --git a/.github/workflows/code-freeze.yml b/.github/workflows/code-freeze.yml index ac93f59..890cbee 100644 --- a/.github/workflows/code-freeze.yml +++ b/.github/workflows/code-freeze.yml @@ -94,16 +94,15 @@ jobs: Please can two [Adoptium PMC](https://projects.eclipse.org/projects/adoptium/who#project-role-PL) members comment `/approve`? - - name: Send approval to merge comment to Slack - if: steps.check.outputs.triggered == 'true' - uses: slackapi/slack-github-action@37ebaef184d7626c5f204ab8d3baff4262dd30f0 # v1.27.0 + - name: Post link to Slack + uses: slackapi/slack-github-action@91efab103c0de0a537f72a35f6b8cda0ee76bf0a # v2.1.1 with: + webhook: ${{ secrets.SLACK_WEBHOOK_CODEFREEZE_URL }} + webhook-type: incoming-webhook payload: | { "link": "https://github.com/${{ github.repository }}/pull/${{ github.event.issue.number }}" } - env: - SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_CODEFREEZE_URL }} - name: Store merge request if: steps.check.outputs.triggered == 'true' diff --git a/.github/workflows/ossf-scorecard.yml b/.github/workflows/ossf-scorecard.yml index 8ddeab2..afd17dc 100644 --- a/.github/workflows/ossf-scorecard.yml +++ b/.github/workflows/ossf-scorecard.yml @@ -1,4 +1,4 @@ -# Runs the OSSF scorecard analysis and uplaods the results. +# Runs the OSSF scorecard analysis and uploads the results. name: OSSF Scorecard diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..bca0bdb --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +# VSCode IDE local config +.vscode/ From 234989cbd0c7e8e61a1c4cdb8c719c1284365daa Mon Sep 17 00:00:00 2001 From: Martijn Verburg Date: Fri, 15 Aug 2025 09:14:59 +1200 Subject: [PATCH 2/3] Update .github/workflows/code-freeze.yml Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- .github/workflows/code-freeze.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/code-freeze.yml b/.github/workflows/code-freeze.yml index 890cbee..8e374d2 100644 --- a/.github/workflows/code-freeze.yml +++ b/.github/workflows/code-freeze.yml @@ -95,6 +95,7 @@ jobs: Please can two [Adoptium PMC](https://projects.eclipse.org/projects/adoptium/who#project-role-PL) members comment `/approve`? - name: Post link to Slack + if: steps.check.outputs.triggered == 'true' uses: slackapi/slack-github-action@91efab103c0de0a537f72a35f6b8cda0ee76bf0a # v2.1.1 with: webhook: ${{ secrets.SLACK_WEBHOOK_CODEFREEZE_URL }} From a1d46675de4c6aa21e7e1bff15c00e9980dbcc1f Mon Sep 17 00:00:00 2001 From: Martijn Verburg Date: Fri, 15 Aug 2025 09:16:58 +1200 Subject: [PATCH 3/3] Update .github/workflows/code-freeze.yml --- .github/workflows/code-freeze.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/code-freeze.yml b/.github/workflows/code-freeze.yml index 8e374d2..7d4bb1a 100644 --- a/.github/workflows/code-freeze.yml +++ b/.github/workflows/code-freeze.yml @@ -94,7 +94,7 @@ jobs: Please can two [Adoptium PMC](https://projects.eclipse.org/projects/adoptium/who#project-role-PL) members comment `/approve`? - - name: Post link to Slack + - name: Send approval to merge comment to Slack if: steps.check.outputs.triggered == 'true' uses: slackapi/slack-github-action@91efab103c0de0a537f72a35f6b8cda0ee76bf0a # v2.1.1 with: