Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions .github/workflows/auto-pr-to-production.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Auto PR to production

on:
push:
branches: ["master"]

permissions:
contents: write
pull-requests: write

jobs:
pull-request:
name: Open PR to production
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v3
name: checkout

- uses: repo-sync/pull-request@v2
name: pull-request
with:
destination_branch: "production"
pr_title: "Pulling ${{ github.ref_name }} => production"
pr_body: "*An automated PR*:\nfrom ${{ github.ref_name }} => production"
github_token: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions change.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dummy file :)