Skip to content

Commit 592892f

Browse files
authored
Merge pull request #1534 from Anselmoo/feature/fix-auto-or
fix: 📄 Update GitHub Actions workflow to use 'gh pr merge' command
2 parents c62063b + 8bd58ff commit 592892f

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

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

+6-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@ name: Weekly Poetry Update
22

33
on:
44
schedule:
5-
- cron: '* * * * *' # Runs every time for testing purposes
6-
# - cron: '0 0 * * 0' # Runs every Sunday at midnight
5+
- cron: '* * * * *' # Runs every hour for testing purposes
6+
# - cron: '0 * * * *' # Runs every hour for testing purposes
7+
workflow_dispatch: # Allows manual triggering of the workflow
78

89
jobs:
910
update-dependencies:
@@ -60,7 +61,10 @@ jobs:
6061
6162
- name: Push changes
6263
run: |
64+
gh auth setup-git
6365
git push -f origin update-dependencies-${{ env.DATE }}
66+
env:
67+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6468

6569
- name: Create Pull Request via gh
6670
run: |

0 commit comments

Comments
 (0)