From 3a1f58941f6aa80cfde2ce209c54dc377100ff5f Mon Sep 17 00:00:00 2001 From: Pierre Merlet Date: Tue, 29 Sep 2026 12:12:46 +0200 Subject: [PATCH 1/2] fix(ci): call notify-ci-failure from the public ForestAdmin/.github repo A public repo cannot call a reusable workflow hosted in a private one, so every run of this workflow failed at startup since it was added. Co-Authored-By: Claude Sonnet 5.5 --- .github/workflows/notify-ci-failure.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/notify-ci-failure.yml b/.github/workflows/notify-ci-failure.yml index 06f9e2430..7a0eb12a8 100644 --- a/.github/workflows/notify-ci-failure.yml +++ b/.github/workflows/notify-ci-failure.yml @@ -6,7 +6,13 @@ on: types: [completed] branches: [main] +permissions: + contents: read + jobs: check-and-notify: - uses: 'ForestAdmin/github-workflows/.github/workflows/notify-ci-failure.yml@main' - secrets: inherit + uses: forestadmin/.github/.github/workflows/notify-ci-failure.yml@main + with: + slack_channel_id: GAZF5Q5RV + secrets: + SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} From b25555ef8ae46a7a2fa7bc1e96dec09b32186e20 Mon Sep 17 00:00:00 2001 From: Pierre Merlet Date: Tue, 29 Sep 2026 14:42:21 +0200 Subject: [PATCH 2/2] fix(ci): pass workflow_run fields as inputs to notify-ci-failure Co-Authored-By: Claude Sonnet 5.5 --- .github/workflows/notify-ci-failure.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/notify-ci-failure.yml b/.github/workflows/notify-ci-failure.yml index 7a0eb12a8..6b6e5a968 100644 --- a/.github/workflows/notify-ci-failure.yml +++ b/.github/workflows/notify-ci-failure.yml @@ -14,5 +14,13 @@ jobs: uses: forestadmin/.github/.github/workflows/notify-ci-failure.yml@main with: slack_channel_id: GAZF5Q5RV + workflow_name: ${{ github.event.workflow_run.name }} + run_url: ${{ github.event.workflow_run.html_url }} + conclusion: ${{ github.event.workflow_run.conclusion }} + head_branch: ${{ github.event.workflow_run.head_branch }} + event: ${{ github.event.workflow_run.event }} + head_sha: ${{ github.event.workflow_run.head_sha }} + author: ${{ github.event.workflow_run.head_commit.author.name }} + commit_message: ${{ github.event.workflow_run.head_commit.message }} secrets: SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}