Merge pull request #463 from consensusnetworks/bug/build #320
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Promote | |
on: | |
push: | |
branches: [develop] | |
jobs: | |
promote: | |
name: Promote | |
runs-on: ubuntu-latest | |
# Skip any pushes from the act CLI | |
# Comment out for testing | |
if: ${{ github.actor != 'nektos/act' }} | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
ref: master | |
token: ${{ github.token }} | |
- name: Reset promotion branch | |
run: | | |
git fetch origin develop:develop | |
git reset --hard develop | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v3 | |
with: | |
branch: develop | |
reviewers: robosupport | |
token: ${{ github.token }} | |
title: "Promote develop to master" |