Skip to content

Commit

Permalink
Merge pull request #1079 from CruGlobal/update-staging
Browse files Browse the repository at this point in the history
[no-Jira] Add update staging workflow
  • Loading branch information
canac authored Jan 9, 2024
2 parents 3c526b4 + 480cb01 commit cd1b3d1
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 cd1b3d1

Please sign in to comment.