From 5d28479ac8014f74205282c17765c17a11df6384 Mon Sep 17 00:00:00 2001 From: Neshura Date: Fri, 29 Dec 2023 02:23:09 +0000 Subject: [PATCH] Update .forgejo/workflows/demo.yaml --- .forgejo/workflows/demo.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/demo.yaml b/.forgejo/workflows/demo.yaml index 6ca32b4..0bbeeaa 100644 --- a/.forgejo/workflows/demo.yaml +++ b/.forgejo/workflows/demo.yaml @@ -7,4 +7,12 @@ jobs: test-dind: runs-on: dind steps: - - run: docker run hello-world \ No newline at end of file + - run: docker run hello-world + - + name: test + if: search(github.ref_name, 'a') + run: echo works + - + name: test inverse + if: ! search(github.ref_name, 'a') + run: echo works as well \ No newline at end of file