Skip to content

Commit

Permalink
add sync-next workflow (#4801)
Browse files Browse the repository at this point in the history
  • Loading branch information
Uzlopak authored Jun 9, 2023
1 parent 27ac8d9 commit f6a0ff3
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/sync-next.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Sync next-branch
on:
workflow_dispatch:
schedule:
- cron: '0 8 * * 1' # every monday at 8 am

permissions:
pull-requests: write

jobs:
create-pull-request:
runs-on: ubuntu-latest
steps:
- uses: octokit/[email protected]
id: create-pull-request
with:
route: POST /repos/{owner}/{repo}/pulls
owner: fastify
repo: fastify
title: Sync next-branch
body: Sync next-branch with latest changes of the main-branch
head: main
base: next
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit f6a0ff3

Please sign in to comment.