summaryrefslogtreecommitdiffstats
path: root/.forgejo/workflows/cascade-setup-end-to-end.yml
diff options
context:
space:
mode:
authorEarl Warren <contact@earl-warren.org>2023-12-28 17:23:09 +0100
committerEarl Warren <contact@earl-warren.org>2024-02-05 13:33:59 +0100
commit82395a1f726e42b89157adc6a4f528b2e48316f7 (patch)
tree9e5fd0f0135273f8d85fee2a27ec977d7960a63a /.forgejo/workflows/cascade-setup-end-to-end.yml
parent[CI] upload the forgejo under test as an artifact for end-to-end (diff)
downloadforgejo-82395a1f726e42b89157adc6a4f528b2e48316f7.tar.xz
forgejo-82395a1f726e42b89157adc6a4f528b2e48316f7.zip
[CI] Forgejo Actions based release process (squash) refactor (#2053)
Refs: https://codeberg.org/forgejo/forgejo/issues/2051 Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/2053 Reviewed-by: Loïc Dachary <dachary@noreply.codeberg.org> Co-authored-by: Earl Warren <contact@earl-warren.org> Co-committed-by: Earl Warren <contact@earl-warren.org> (cherry picked from commit 01abf4d505b092886ed22cdb903ec834061cd7d6) [CI] Forgejo Actions based release process (squash) no ownca The private Forgejo instance trusted with the release signing keys no longer requires the installation of the ownca certificate authority. Refs: https://codeberg.org/forgejo/docs/pulls/338 (cherry picked from commit 72f9ae796d7d7328e87129485e83251708f3d2fb) (cherry picked from commit b0ca4236d76bcc24dfeecba54b602af542355c7d) (cherry picked from commit 81619cf8b5e1650eeb8cb315ee7fa70d0c2d82ba) (cherry picked from commit 2cb32c1a2bd1dd58bb51b81b06e5453608cf0b5d) (cherry picked from commit f817d97f85fff41392ff3017245b80a3ab73cf8a) (cherry picked from commit 7499661326231f5f353c977546f57787a130346f)
Diffstat (limited to '.forgejo/workflows/cascade-setup-end-to-end.yml')
-rw-r--r--.forgejo/workflows/cascade-setup-end-to-end.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/.forgejo/workflows/cascade-setup-end-to-end.yml b/.forgejo/workflows/cascade-setup-end-to-end.yml
index 8f0c736d38..be07d87767 100644
--- a/.forgejo/workflows/cascade-setup-end-to-end.yml
+++ b/.forgejo/workflows/cascade-setup-end-to-end.yml
@@ -9,6 +9,7 @@ env:
jobs:
info:
+ if: ${{ !startsWith(vars.ROLE, 'forgejo-') }}
runs-on: docker
container:
image: node:20-bookworm
@@ -24,7 +25,7 @@ jobs:
EOF
build:
- if: github.event.action == 'label_updated' && contains(github.event.pull_request.labels.*.name, 'run-end-to-end-tests')
+ if: ${{ !startsWith(vars.ROLE, 'forgejo-') && github.event.action == 'label_updated' && contains(github.event.pull_request.labels.*.name, 'run-end-to-end-tests') }}
runs-on: docker
container:
image: 'docker.io/node:20-bookworm'
@@ -60,7 +61,7 @@ jobs:
path: forgejo
cascade:
- if: github.event.action == 'label_updated' && contains(github.event.pull_request.labels.*.name, 'run-end-to-end-tests')
+ if: ${{ !startsWith(vars.ROLE, 'forgejo-') && github.event.action == 'label_updated' && contains(github.event.pull_request.labels.*.name, 'run-end-to-end-tests') }}
needs: [build]
runs-on: docker
container: