Skip to content

Commit

Permalink
ci: rename default branch to main (#198)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason3S committed Jun 3, 2021
1 parent 213b7c4 commit 4a650fa
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/auto-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Build Action

on:
# push:
# - "!master"
# - "!main"
workflow_dispatch:

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on: # rebuild any PRs and main branch changes
pull_request:
push:
branches:
- master
- main

jobs:
cspell:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on: # rebuild any PRs and main branch changes
pull_request:
push:
branches:
- master
- main

jobs:
test-action: # run the action
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on: # rebuild any PRs and main branch changes
pull_request:
push:
branches:
- master
- main

jobs:
unit-test: # make sure unit-tests run
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/update-dependencies.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Update Dependencies Master
name: Update Dependencies Main

on:
push:
branches:
- master
- main
workflow_dispatch:
schedule:
- cron: "0 12 * * *"
Expand All @@ -13,8 +13,8 @@ jobs:
if: github.repository_owner == 'streetsidesoftware'
runs-on: ubuntu-latest
env:
NEW_BRANCH: "update-dependencies-master"
REF_BRANCH: master
NEW_BRANCH: "update-dependencies-main"
REF_BRANCH: main
steps:
- name: Checkout code
uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# cspell-action

Uses [cspell](https://github.com/streetsidesoftware/cspell/tree/master/packages/cspell) to check code.
Uses [cspell](https://github.com/streetsidesoftware/cspell/tree/main/packages/cspell) to check code.

## Installation

Expand Down
4 changes: 2 additions & 2 deletions cspell.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"version": "0.2",
"$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/master/cspell.schema.json",
"$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json",
"words": [
"camelcase",
"cosmiconfig",
Expand Down Expand Up @@ -54,4 +54,4 @@
"enableFiletypes": [
"shellscript"
]
}
}

0 comments on commit 4a650fa

Please sign in to comment.