Update .github/workflows/sync_configs.yml from dry-rb/template-gem

This commit is contained in:
File Sync 2022-04-02 13:03:21 +00:00
parent b872775630
commit 66e7adf76e
1 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@ on:
repository_dispatch:
push:
branches:
- "master"
- "main"
jobs:
main:
@ -43,5 +43,5 @@ jobs:
git commit -m "[devtools] sync" || echo "nothing to commit"
- name: Push changes
run: |
git pull --rebase origin master
git push https://dry-bot:${{secrets.GH_PAT}}@github.com/${{github.repository}}.git HEAD:master
git pull --rebase origin main
git push https://dry-bot:${{secrets.GH_PAT}}@github.com/${{github.repository}}.git HEAD:main