Merge pull request #65 from pre-commit/all-repos_autofix_master-to-main
Update default branch to main
This commit is contained in:
commit
109ec45041
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
@ -1,7 +1,7 @@
|
||||
name: main
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
branches: [main]
|
||||
schedule:
|
||||
- cron: '30 8 * * *'
|
||||
|
||||
@ -18,6 +18,6 @@ jobs:
|
||||
- run: pre-commit-mirror . --language=python --package-name=mypy --types-or=python --types-or=pyi --args=--ignore-missing-imports,--scripts-are-modules --require-serial
|
||||
- run: |
|
||||
git remote set-url origin https://x-access-token:$GH_TOKEN@github.com/$GITHUB_REPOSITORY
|
||||
git push origin HEAD:refs/heads/master --tags
|
||||
git push origin HEAD:refs/heads/main --tags
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
Loading…
Reference in New Issue
Block a user