File tree Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 21
21
if : ${{ github.event.workflow_run.conclusion == 'success' }}
22
22
runs-on : ubuntu-latest
23
23
timeout-minutes : 5
24
+ permissions :
25
+ contents : read
24
26
steps :
25
27
- uses : actions/create-github-app-token@v2
26
28
id : app-token
74
76
if : failure()
75
77
needs : [release]
76
78
uses : masutaka/actions/.github/workflows/pushover.yml@main
79
+ permissions :
80
+ contents : read
77
81
secrets :
78
82
PUSHOVER_API_KEY : ${{ secrets.PUSHOVER_API_KEY }}
79
83
PUSHOVER_USER_KEY : ${{ secrets.PUSHOVER_USER_KEY }}
Original file line number Diff line number Diff line change 22
22
if : github.ref_name == github.event.repository.default_branch && failure()
23
23
needs : codeql
24
24
uses : masutaka/actions/.github/workflows/pushover.yml@main
25
+ permissions :
26
+ contents : read
25
27
secrets :
26
28
PUSHOVER_API_KEY : ${{ secrets.PUSHOVER_API_KEY }}
27
29
PUSHOVER_USER_KEY : ${{ secrets.PUSHOVER_USER_KEY }}
Original file line number Diff line number Diff line change 33
33
test :
34
34
runs-on : ubuntu-latest
35
35
timeout-minutes : 5
36
+ permissions :
37
+ contents : read
36
38
steps :
37
39
- uses : actions/checkout@v4
38
40
- name : Setup Go environment
45
47
if : github.ref_name == github.event.repository.default_branch && failure()
46
48
needs : [actionlint, codeql, test]
47
49
uses : masutaka/actions/.github/workflows/pushover.yml@main
50
+ permissions :
51
+ contents : read
48
52
secrets :
49
53
PUSHOVER_API_KEY : ${{ secrets.PUSHOVER_API_KEY }}
50
54
PUSHOVER_USER_KEY : ${{ secrets.PUSHOVER_USER_KEY }}
You can’t perform that action at this time.
0 commit comments