File tree 1 file changed +10
-7
lines changed
1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -20,18 +20,21 @@ jobs:
20
20
with :
21
21
github-token : ${{ secrets.GITHUB_TOKEN }}
22
22
branch : release
23
+ - uses : actions/checkout@v4
24
+ if : steps.find-pr.outputs.number == ''
25
+ with :
26
+ ref : release
27
+ - name : Reset release branch
28
+ if : steps.find-pr.outputs.number == ''
29
+ run : |
30
+ git fetch origin main:main
31
+ git reset --hard main
23
32
- name : Create/Update PR
24
33
if : steps.find-pr.outputs.number == ''
25
34
uses : peter-evans/create-pull-request@v6
26
35
with :
27
36
token : ${{ secrets.GITHUB_TOKEN }}
28
37
commit-message : Update release branch
29
38
title : Merge Release Auto-PR
30
- body : Merging this PR will invoke release actions
31
-
32
- # none of these are in docs; I'm just guessing
33
- # because there MUST be a way to set this!
34
- target : release
35
- target-branch : release
36
-
39
+ body : Merging this PR will invoke release actions
37
40
branch : auto-update/release
You can’t perform that action at this time.
0 commit comments