forked from wolfSSL/wolfssl
-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (29 loc) · 913 Bytes
/
Copy pathmembrowse-comment.yml
File metadata and controls
32 lines (29 loc) · 913 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: Membrowse Comment
on:
workflow_run:
workflows: [Membrowse Memory Report]
types:
- completed
jobs:
post-comment:
runs-on: ubuntu-26.04
timeout-minutes: 10
# Run the comment job even if some of the builds fail
if: >
github.event.workflow_run.event == 'pull_request' &&
github.event.workflow_run.conclusion != 'cancelled'
permissions:
contents: read
pull-requests: write
steps:
- name: Checkout repository
uses: actions/checkout@v5
- name: Post Membrowse PR comment
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 }}
env:
MEMBROWSE_API_KEY: ${{ secrets.MEMBROWSE_API_KEY }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}