mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-09-17 16:25:55 +00:00
chore(ci): ROLE forgejo-coding & forgejo-testing
When the CI vars.ROLE is forgejo-coding, it is assumed to be the repository where collaborative coding happens, i.e. https://codeberg.org/forgejo/forgejo When the CI vars.ROLE is forgejo-testing, it is assumed that only codebase testing is to be run and no other tests such as release build integration, label constraints, backporting etc.
This commit is contained in:
parent
5614719e0a
commit
f82840f1ea
8 changed files with 8 additions and 7 deletions
|
@ -31,7 +31,7 @@ on:
|
|||
jobs:
|
||||
backporting:
|
||||
if: >
|
||||
!startsWith(vars.ROLE, 'forgejo-') && (
|
||||
( vars.ROLE == 'forgejo-coding' ) && (
|
||||
github.event.pull_request.merged
|
||||
&&
|
||||
contains(toJSON(github.event.pull_request.labels), 'backport/v')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue