summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Rogov Papernov <[email protected]>2026-03-10 21:06:39 +0000
committerMichael Rogov Papernov <[email protected]>2026-03-10 21:52:08 +0000
commitb1de5229f5ff335ad6f899ca5f966a151eeb6516 (patch)
treea73c55a0b64b79d9c37b678d58ac76b2f0a27bbf
parent7249c65b2a5b995ff7c2b45c1171f218b9d71112 (diff)
fix secret issue in membrowse-comment
-rw-r--r--.github/workflows/membrowse-comment.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.github/workflows/membrowse-comment.yml b/.github/workflows/membrowse-comment.yml
index 368a52638..952d8ba37 100644
--- a/.github/workflows/membrowse-comment.yml
+++ b/.github/workflows/membrowse-comment.yml
@@ -9,9 +9,10 @@ on:
jobs:
post-comment:
runs-on: ubuntu-latest
+ # Run the comment job even if some of the builds fail
if: >
github.event.workflow_run.event == 'pull_request' &&
- github.event.workflow_run.conclusion == 'success'
+ github.event.workflow_run.conclusion != 'cancelled'
permissions:
contents: read
actions: read
@@ -21,11 +22,12 @@ jobs:
uses: actions/checkout@v6
- name: Post Membrowse PR comment
- if: ${{ secrets.MEMBROWSE_API_KEY != '' }}
+ if: ${{ env.MEMBROWSE_API_KEY != '' }}
uses: membrowse/membrowse-action/comment-action@v1
with:
api_key: ${{ secrets.MEMBROWSE_API_KEY }}
commit: ${{ github.event.workflow_run.head_sha }}
comment_template: .github/membrowse_pr_message.j2
env:
+ MEMBROWSE_API_KEY: ${{ secrets.MEMBROWSE_API_KEY }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}