Skip to content

Commit 4c24c81

Browse files
authored
Merge pull request #1484 from Anselmoo/fix/automerge
chore: 🧪 Update weekly-poetry-bot.yml workflow schedule for testing
2 parents 45f3489 + 4b428b5 commit 4c24c81

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

.github/workflows/weekly-poetry-bot.yml

+10-7
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,15 @@ name: Weekly Poetry Update
22

33
on:
44
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
67

78
jobs:
89
update-dependencies:
910
runs-on: ubuntu-latest
11+
permissions:
12+
contents: write
13+
pull-requests: write
1014

1115
steps:
1216
- name: Checkout repository
@@ -48,9 +52,8 @@ jobs:
4852
labels: dependencies
4953
assignees: ${{ github.actor }}
5054

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 }}

0 commit comments

Comments
 (0)