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 @@ -2,11 +2,15 @@ name: Weekly Poetry Update
2
2
3
3
on :
4
4
schedule :
5
- - cron : ' 0 0 * * 0' # Runs every Sunday at midnight
5
+ # - cron: '0 0 * * 0' # Runs every Sunday at midnight
6
+ - cron : ' 0 0 * * *' # Runs every hour for testing
6
7
7
8
jobs :
8
9
update-dependencies :
9
10
runs-on : ubuntu-latest
11
+ permissions :
12
+ contents : write
13
+ pull-requests : write
10
14
11
15
steps :
12
16
- name : Checkout repository
48
52
labels : dependencies
49
53
assignees : ${{ github.actor }}
50
54
51
- - name : Enable auto-merge
52
- uses : pascalgn/automerge-action@v0
53
- with :
54
- token : ${{ secrets.GITHUB_TOKEN }}
55
- pull-request : ${{ steps.create_pr.outputs.pull-request-number }}
56
- merge-method : squash
55
+ - name : Set Auto PR
56
+ run : |
57
+ gh pr merge update-dependencies-$(date +%Y%m%d) --auto --rebase
58
+ env :
59
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments