Skip to content

Commit

Permalink
ci: update references of master --> main
Browse files Browse the repository at this point in the history
  • Loading branch information
codfish committed Aug 9, 2022
1 parent 507c4fe commit cbdd966
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 4 deletions.
18 changes: 17 additions & 1 deletion .github/workflows/release.yml
Expand Up @@ -3,7 +3,7 @@ name: Release
on:
push:
branches:
- master
- main

jobs:
release:
Expand All @@ -15,6 +15,22 @@ jobs:
- name: semantic-release
id: semantic
uses: ./
with:
branches: |
[
'+([0-9])?(.{+([0-9]),x}).x',
'main',
'next',
'next-major',
{
name: 'beta',
prerelease: true
},
{
name: 'alpha',
prerelease: true
}
]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down
22 changes: 19 additions & 3 deletions .github/workflows/validate.yml
Expand Up @@ -7,9 +7,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- uses: actions/setup-node@v2
- uses: actions/setup-node@v3
with:
node-version: 18.7.0

Expand All @@ -26,7 +26,7 @@ jobs:
branches: |
[
'+([0-9])?(.{+([0-9]),x}).x',
'master',
'main',
'next',
'next-major',
{
Expand All @@ -52,6 +52,22 @@ jobs:
- name: semantic-release with no inputs
id: semantic
uses: ./
with:
branches: |
[
'+([0-9])?(.{+([0-9]),x}).x',
'main',
'next',
'next-major',
{
name: 'beta',
prerelease: true
},
{
name: 'alpha',
prerelease: true
}
]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down

0 comments on commit cbdd966

Please sign in to comment.