File tree 1 file changed +11
-13
lines changed
1 file changed +11
-13
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,8 @@ 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 * * * *' # Runs every hour
6
7
7
8
jobs :
8
9
update-dependencies :
@@ -47,19 +48,16 @@ jobs:
47
48
fi
48
49
git push origin update-dependencies-$(date +%Y%m%d)
49
50
50
- - name : Create Pull Request
51
- id : create_pr
52
- uses : peter-evans/create-pull-request@v6
53
- with :
54
- token : ${{ secrets.GITHUB_TOKEN }}
55
- branch : update-dependencies-$(date +%Y%m%d)
56
- title : " chore(deps): :arrows_counterclockwise: update dependencies $(date +%Y%m%d)"
57
- body : " This PR updates dependencies to their latest versions."
58
- labels : dependencies
59
- assignees : ${{ github.actor }}
60
-
51
+ - name : Create Pull Request via gh
52
+ run : >-
53
+ gh pr create --title "chore(deps): :arrows_counterclockwise: update dependencies $(date +%Y%m%d)"
54
+ --body "This is an auto-generated pull request to update dependencies in poetry.lock."
55
+ --base main
56
+ --head update-dependencies-$(date +%Y%m%d)
57
+ env :
58
+ GITHUB_TOKEN : ${{ secrets.auto_changelog }}
61
59
- name : Set Auto PR
62
60
run : |
63
61
gh pr merge update-dependencies-$(date +%Y%m%d) --auto --rebase
64
62
env :
65
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
63
+ GITHUB_TOKEN : ${{ secrets.auto_changelog }}
You can’t perform that action at this time.
0 commit comments