chore: clean up master references in release and workflows (#104)

* chore: update master to main branch in ci workflow

* chore: remove master branch check from release flow

* chore: remove master branch from release config
This commit is contained in:
Cedric van Putten authored and GitHub committed 2021-06-22 21:17:28 +02:00
1 parent def44e2c77
commit a2d9b1cadf
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -2,7 +2,7 @@
name: CI
on:
push:
branches: [master]
branches: [main]
pull_request:
types: [opened, synchronize]
jobs:
+1 -1
View File
@@ -45,7 +45,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Create release
if: success() && github.event.inputs.release == 'release' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master')
if: success() && github.event.inputs.release == 'release' && github.ref == 'refs/heads/main'
run: yarn semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+1 -1
View File
@@ -11,7 +11,7 @@ const rules = [
const sortMap = Object.fromEntries(rules.map((rule, index) => [rule.title, index]));
module.exports = {
branches: ['main', 'master'],
branches: ['main'],
tagFormat: '${version}',
plugins: [
['@semantic-release/commit-analyzer', {