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