File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 7
7
show-metadata :
8
8
runs-on : ubuntu-latest
9
9
steps :
10
+ # Use environment variable to print the metadata (cf. https://github.com/actions/runner/issues/1656#issuecomment-1030077729).
10
11
- name : Show metadata
11
- run : echo ${{ toJson(github.event) }}
12
+ run : echo $JSON
13
+ env :
14
+ JSON : ${{ toJson(github.event) }}
12
15
add-label :
13
- if : ${{ github.event.actor .login != 'tillahoffmann' }}
16
+ if : ${{ github.event.user .login != 'tillahoffmann' }}
14
17
runs-on : ubuntu-latest
15
18
permissions :
16
19
issues : write
20
23
with :
21
24
labels : requires-attention
22
25
remove-label :
23
- if : ${{ github.event.actor .login == 'tillahoffmann' }}
26
+ if : ${{ github.event.user .login == 'tillahoffmann' }}
24
27
runs-on : ubuntu-latest
25
28
permissions :
26
29
issues : write
You can’t perform that action at this time.
0 commit comments