From 772122b25570bfe75bc6d3fb5276a56900248df7 Mon Sep 17 00:00:00 2001 From: DerLinkman Date: Thu, 6 Oct 2022 14:04:27 +0200 Subject: [PATCH] Added auto PR for nightly builds --- .github/workflows/pr_to_nightly.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/pr_to_nightly.yml diff --git a/.github/workflows/pr_to_nightly.yml b/.github/workflows/pr_to_nightly.yml new file mode 100644 index 000000000..719249d1f --- /dev/null +++ b/.github/workflows/pr_to_nightly.yml @@ -0,0 +1,24 @@ +name: Create PR to merge to nightly from staging +on: + push: + branches: + - staging +jobs: + action-pull-request: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Run the Action + if: startsWith(github.ref, 'refs/heads/feature') + uses: devops-infra/action-pull-request@v0.5.0 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + title: Automatic PR to nightly from ${{ github.event.repository.updated_at}} + assignee: DerLinkman + reviewer: DerLinkman + label: upstream + new_string: ${{ github.event.commits[0].message }} + get_diff: true \ No newline at end of file