loading up the forgejo repo on tangled to test page performance
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request 'chore(ci): make release-notes-assistant job copy/pastable' (#6019) from earl-warren/forgejo:wip-ci-labels into forgejo

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6019
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>

+19 -8
+19 -8
.forgejo/workflows/release-notes-assistant.yml
··· 1 + name: issue-labels 2 + 1 3 on: 2 4 pull_request_target: 3 5 types: ··· 7 9 8 10 jobs: 9 11 release-notes: 10 - if: ( vars.ROLE == 'forgejo-coding' ) && contains(github.event.pull_request.labels.*.name, 'worth a release-note') 12 + if: > 13 + vars.ROLE == 'forgejo-coding' && 14 + 15 + secrets.RELEASE_NOTES_ASSISTANT_TOKEN != '' && 16 + 17 + github.event_name == 'pull_request' && 18 + contains(github.event.pull_request.labels.*.name, 'worth a release-note') && 19 + ( 20 + github.event.action == 'label_updated' || 21 + github.event.action == 'edited' || 22 + github.event.action == 'synchronized' 23 + ) 24 + 11 25 runs-on: docker 12 26 container: 13 27 image: 'code.forgejo.org/oci/node:20-bookworm' 14 28 steps: 15 - - uses: https://code.forgejo.org/actions/checkout@v4 16 - 17 - - name: event 29 + - name: Debug info 18 30 run: | 19 31 cat <<'EOF' 20 - ${{ toJSON(github.event.pull_request.labels.*.name) }} 32 + ${{ toJSON(github) }} 21 33 EOF 22 - cat <<'EOF' 23 - ${{ toJSON(github.event) }} 24 - EOF 34 + 35 + - uses: https://code.forgejo.org/actions/checkout@v4 25 36 26 37 - uses: https://code.forgejo.org/actions/setup-go@v5 27 38 with: