Skip to content

Commit

Permalink
Merge pull request #1484 from Anselmoo/fix/automerge
Browse files Browse the repository at this point in the history
chore: 🧪 Update weekly-poetry-bot.yml workflow schedule for testing
  • Loading branch information
Anselmoo authored Aug 11, 2024
2 parents 45f3489 + 4b428b5 commit 4c24c81
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/weekly-poetry-bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,15 @@ name: Weekly Poetry Update

on:
schedule:
- cron: '0 0 * * 0' # Runs every Sunday at midnight
# - cron: '0 0 * * 0' # Runs every Sunday at midnight
- cron: '0 0 * * *' # Runs every hour for testing

jobs:
update-dependencies:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write

steps:
- name: Checkout repository
Expand Down Expand Up @@ -48,9 +52,8 @@ jobs:
labels: dependencies
assignees: ${{ github.actor }}

- name: Enable auto-merge
uses: pascalgn/automerge-action@v0
with:
token: ${{ secrets.GITHUB_TOKEN }}
pull-request: ${{ steps.create_pr.outputs.pull-request-number }}
merge-method: squash
- name: Set Auto PR
run: |
gh pr merge update-dependencies-$(date +%Y%m%d) --auto --rebase
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 4c24c81

Please sign in to comment.