Skip to content

Commit

Permalink
Merge pull request #848 from CruGlobal/update-staging
Browse files Browse the repository at this point in the history
[no-Jira] Make on staging label work
  • Loading branch information
canac authored Nov 9, 2023
2 parents e2491d2 + db9b143 commit 6b2f1f0
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/update-staging.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Update staging
on:
push:
branches:
- master
pull_request:
types: [labeled, synchronize]

jobs:
update-staging:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master' || 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 }}

0 comments on commit 6b2f1f0

Please sign in to comment.