github.com/verrazzano/verrazzano@v1.7.0/.github/workflows/upstream-pull-request.yml (about) 1 # Copyright (c) 2022, 2023, Oracle and/or its affiliates. 2 # Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. 3 name: Upstream-Pull-Request-For-Rancher 4 5 on: 6 push: 7 branches: 8 - 'upstream-rancher-**' 9 10 jobs: 11 pull-request: 12 name: Open PR to main 13 runs-on: ubuntu-latest 14 steps: 15 - uses: actions/checkout@v3 16 name: checkout 17 18 - name: Create Pull Request 19 id: open-pr 20 run: | 21 echo 'PR_URL<<EOF' >> $GITHUB_ENV 22 gh pr create \ 23 -B "master" \ 24 -t "CI: Update Rancher image in BOM" \ 25 -b "*Automated Pull Request* Updating Rancher image in BOM for ${{ github.ref }}" \ 26 -r "${{ vars.RANCHER_PR_NOTIFY_LIST }}" 27 echo 'EOF' >> $GITHUB_ENV 28 env: 29 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}