aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorᴜɴᴋɴᴡᴏɴ <u@gogs.io>2020-08-27 19:51:44 +0800
committerGitHub <noreply@github.com>2020-08-27 19:51:44 +0800
commitf6d672a3cd9e800e8c330b603fe59398a218db25 (patch)
treec01d6a3280fd4bfc90e53b23231ad0bff5f383e9 /.github
parent016d9d8c889cefc294097e905aefd2973ae6ba1d (diff)
chore: change default branch to `main` (#6285)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/codeql.yml4
-rw-r--r--.github/workflows/shell.yml2
2 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml
index f21f6bd9..386508a2 100644
--- a/.github/workflows/codeql.yml
+++ b/.github/workflows/codeql.yml
@@ -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
diff --git a/.github/workflows/shell.yml b/.github/workflows/shell.yml
index 1926472c..20a045dc 100644
--- a/.github/workflows/shell.yml
+++ b/.github/workflows/shell.yml
@@ -1,7 +1,7 @@
name: Shell
on:
push:
- branches: [master]
+ branches: [main]
pull_request:
jobs:
shellcheck: