Merge pull request #2820 from decentraland/release/release-18-11-2024 #9
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: Create PR for syncing main to dev | |
on: | |
push: | |
branches: [ main ] | |
workflow_dispatch: | |
jobs: | |
create-pr: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the code | |
uses: actions/checkout@v4 | |
- name: Create or update branch | |
run: | | |
git checkout -B chore/sync | |
git push --force --set-upstream origin chore/sync | |
- name: Create pull request using GitHub CLI | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
gh pr create \ | |
--base dev \ | |
--head chore/sync \ | |
--title "chore: sync main to dev" \ | |
--body ":crown: *An automated PR*" \ | |
--label auto-pr \ |