MPDX-8425 Require Task Action on Mass Actions #5152
Workflow file for this run
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: Update staging | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
types: [labeled, synchronize] | |
jobs: | |
update-staging: | |
runs-on: ubuntu-latest | |
if: github.ref == 'refs/heads/main' || contains(github.event.pull_request.labels.*.name, 'On Staging') | |
steps: | |
- uses: actions/checkout@v3 | |
- name: 🖇️ Merge current branch into staging | |
uses: devmasx/[email protected] | |
with: | |
type: now | |
target_branch: 'staging' | |
github_token: ${{ github.token }} |