Skip to content

Commit

Permalink
ci: update default branch to main
Browse files Browse the repository at this point in the history
  • Loading branch information
EdricChan03 committed Sep 2, 2024
1 parent 14d4a56 commit fda7593
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: "CodeQL"

on:
push:
branches: [master]
branches: [main]
pull_request:
# The branches below must be a subset of the branches above
branches: [master]
branches: [main]
schedule:
- cron: '0 0 * * 0'

Expand Down Expand Up @@ -37,7 +37,7 @@ jobs:
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main
config-file: ./.github/codeql/codeql-config.yml
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: Site workflow
on:
push:
branches:
# Only accept deploying from the master branch
- master
# Only accept deploying from the main branch
- main

jobs:
test:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: Pull Request workflow
on:
pull_request:
branches:
# Only accept PRs targeting the master branch
- master
# Only accept PRs targeting the main branch
- main

jobs:
test:
Expand Down

0 comments on commit fda7593

Please sign in to comment.