Skip to content

Commit

Permalink
build: rename master to main
Browse files Browse the repository at this point in the history
  • Loading branch information
stieg committed Nov 1, 2020
1 parent 4f1d708 commit d29e9a4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 11 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
push:
branches:
- f/**
- master
- main

name: CI

Expand All @@ -15,9 +15,6 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

- name: Fetch all branches and tags
run: git fetch --prune --unshallow

- name: NPM Cache
uses: actions/cache@v1
with:
Expand Down
9 changes: 3 additions & 6 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# on:
# push:
# branches:
# - master
# - main

name: Package

Expand All @@ -13,10 +13,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
with:
ref: master

- name: Fetch all branches and tags
run: git fetch --prune --unshallow
fetch-depth: 0

- name: NPM Cache
uses: actions/cache@v1
Expand All @@ -41,4 +38,4 @@ jobs:
git config --global user.name "GitHub Actions"
git add dist/
git commit -m "chore: Update dist" || echo "No changes to commit"
git push origin HEAD:master
git push origin HEAD:main
2 changes: 1 addition & 1 deletion renovate.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"automerge": true,
"baseBranches": ["master"],
"baseBranches": ["main"],
"commitMessagePrefix": "build: ",
"enabled": true,
"extends": ["config:base"],
Expand Down

0 comments on commit d29e9a4

Please # to comment.