chore: change default branch to main (#6285)

This commit is contained in:
ᴜɴᴋɴᴡᴏɴ
2020-08-27 19:51:44 +08:00
committed by GitHub
parent 016d9d8c88
commit f6d672a3cd
11 changed files with 38 additions and 36 deletions

View File

@@ -2,7 +2,7 @@ name: "Code scanning - action"
on:
push:
branches: [master]
branches: [main]
schedule:
- cron: '0 19 * * 0'
@@ -24,7 +24,7 @@ jobs:
# the head of the pull request instead of the merge commit.
- run: git checkout HEAD^2
if: ${{ github.event_name == 'pull_request' }}
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1