Merge pull request #1193 from CruGlobal/8442-localize-labels #5218
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 }} |