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 merge-conditions job copy/pastable' (#6001) from earl-warren/forgejo:wip-ci-labels into forgejo

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

+12 -5
+12 -5
.forgejo/workflows/merge-requirements.yml
··· 1 1 # Copyright 2024 The Forgejo Authors 2 2 # SPDX-License-Identifier: MIT 3 3 4 - name: requirements 4 + name: issue-labels 5 5 6 6 on: 7 7 pull_request: ··· 9 9 - labeled 10 10 - edited 11 11 - opened 12 - - synchronize 13 12 14 13 jobs: 15 14 merge-conditions: 16 - if: vars.ROLE == 'forgejo-coding' 15 + if: > 16 + vars.ROLE == 'forgejo-coding' && 17 + 18 + github.event_name == 'pull_request' && 19 + ( 20 + github.event.action == 'label_updated' || 21 + github.event.action == 'edited' || 22 + github.event.action == 'opened' 23 + ) 17 24 runs-on: docker 18 25 container: 19 26 image: 'code.forgejo.org/oci/node:20-bookworm' 20 27 steps: 21 - - name: Debug output 28 + - name: Debug info 22 29 run: | 23 30 cat <<'EOF' 24 - ${{ toJSON(github.event) }} 31 + ${{ toJSON(github) }} 25 32 EOF 26 33 - name: Missing test label 27 34 if: >