mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-07-05 23:20:49 +02:00
32 lines
889 B
YAML
32 lines
889 B
YAML
name: Membrowse Comment
|
|
|
|
on:
|
|
workflow_run:
|
|
workflows: [Membrowse Memory Report]
|
|
types:
|
|
- completed
|
|
|
|
jobs:
|
|
post-comment:
|
|
runs-on: ubuntu-24.04
|
|
# 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 }}
|