-
Notifications
You must be signed in to change notification settings - Fork 0
63 lines (53 loc) · 1.71 KB
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
name: Self-test
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
test-checkout:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./
test-tag-good:
runs-on: ubuntu-latest
steps:
# benign workflow, referenced by `good` tag (tags namespace)
- uses: woodruffw-experiments/gha-trickery@good
test-pinned-good:
runs-on: ubuntu-latest
steps:
# benign workflow, referenced by full SHA ref (commits namespace)
- uses: woodruffw-experiments/gha-trickery@2a6d8740b45f670eaca097355b63c23aee3c41f4
test-pinned-good-truncated:
runs-on: ubuntu-latest
steps:
# seemingly benign workflow, but actually evil (tags namespace)
- uses: woodruffw-experiments/gha-trickery@2a6d8740
test-pinned-good-truncated-longer:
runs-on: ubuntu-latest
steps:
# seemingly benign workflow, but actually evil (tags namespace)
- uses: woodruffw-experiments/gha-trickery@2a6d8740b45f67
test-tag-good-2:
runs-on: ubuntu-latest
steps:
# another benign workflow (tags namespace)
- uses: woodruffw-experiments/gha-trickery@good-2
test-pinned-good-2:
runs-on: ubuntu-latest
steps:
# another benign workflow (commits namespace)
- uses: woodruffw-experiments/gha-trickery@0190375bcac5f387c48791fb68bb5f25aef75328
test-pinned-good-2-truncated:
runs-on: ubuntu-latest
steps:
# semingly benign workflow, but actually evil (tags namespace)
- uses: woodruffw-experiments/gha-trickery@0190375b
test-pinned-good-branch:
runs-on: ubuntu-latest
steps:
# benign workflow (branches namespace)
- uses: woodruffw-experiments/gha-trickery@good-branch