File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -40,8 +40,10 @@ permissions:
40
40
jobs :
41
41
clean-logs :
42
42
runs-on : ubuntu-latest
43
+ permissions :
44
+ actions : write
43
45
steps :
44
- - uses : igorjs/gh-actions-clean-workflow@v3
46
+ - uses : igorjs/gh-actions-clean-workflow@v4.0.0
45
47
with :
46
48
token : ${{ github.token }} # optional
47
49
owner : ${{ github.repository_owner }} # optional
73
75
permissions :
74
76
actions : write
75
77
steps :
76
- - uses : igorjs/gh-actions-clean-workflow@v3
78
+ - uses : igorjs/gh-actions-clean-workflow@v4.0.0
77
79
with :
78
80
days_old : ${{ github.event.inputs.days_old }} # optional
79
81
runs_to_keep : ${{ github.event.inputs.runs_to_keep }} # optional
94
96
permissions :
95
97
actions : write
96
98
steps :
97
- - uses : igorjs/gh-actions-clean-workflow@v3
99
+ - uses : igorjs/gh-actions-clean-workflow@v4.0.0
98
100
with :
99
101
days_old : " 14" # optional, default value: "7"
100
102
runs_to_keep : " 20" # optional, default value: "0"
@@ -126,7 +128,7 @@ jobs:
126
128
permissions :
127
129
actions : write
128
130
steps :
129
- - uses : igorjs/gh-actions-clean-workflow@v3
131
+ - uses : igorjs/gh-actions-clean-workflow@v4.0.0
130
132
with :
131
133
days_old : ${{ github.event.inputs.days_old || env.SCHEDULED_DAYS_OLD }}
132
134
runs_to_keep : ${{ github.event.inputs.runs_to_keep || env.SCHEDULED_RUNS_TO_KEEP }}
You can’t perform that action at this time.
0 commit comments