summaryrefslogtreecommitdiffstats
path: root/pkg/runner/testdata/runs-on/push.yml
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/runner/testdata/runs-on/push.yml')
-rw-r--r--pkg/runner/testdata/runs-on/push.yml24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkg/runner/testdata/runs-on/push.yml b/pkg/runner/testdata/runs-on/push.yml
new file mode 100644
index 0000000..f6ecedb
--- /dev/null
+++ b/pkg/runner/testdata/runs-on/push.yml
@@ -0,0 +1,24 @@
+name: runs-on
+on: push
+
+jobs:
+ test:
+ runs-on: ubuntu-latest
+ steps:
+ - run: env
+ - run: echo ${GITHUB_ACTOR}
+ - run: echo ${GITHUB_ACTOR} | grep nektos/act
+
+ many:
+ runs-on: [ubuntu-latest]
+ steps:
+ - run: env
+ - run: echo ${GITHUB_ACTOR}
+ - run: echo ${GITHUB_ACTOR} | grep nektos/act
+
+ selfmany:
+ runs-on: [self-hosted, ubuntu-latest]
+ steps:
+ - run: env
+ - run: echo ${GITHUB_ACTOR}
+ - run: echo ${GITHUB_ACTOR} | grep nektos/act