Merge pull request #2949 from chaoss/hotfix-retry #54
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: Merge main into dev | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
update-dev: | |
permissions: write-all | |
name: update-dev | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- run: | | |
git config user.name 'GitHub Actions' | |
git config user.email 'actions@users.noreply.github.com' | |
git checkout dev | |
git merge main | |
echo "Done with merge" | |
- name: Push to dev | |
uses: CasperWA/push-protected@v2 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
branch: dev |