diff --git a/.github/workflows/auto-pr-to-production.yml b/.github/workflows/auto-pr-to-production.yml new file mode 100644 index 0000000..16977ae --- /dev/null +++ b/.github/workflows/auto-pr-to-production.yml @@ -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 }} diff --git a/change.txt b/change.txt new file mode 100644 index 0000000..272d1ae --- /dev/null +++ b/change.txt @@ -0,0 +1 @@ +dummy file :) \ No newline at end of file