5
0
Fork 0
mirror of https://github.com/cycjimmy/semantic-release-action.git synced 2025-11-07 10:46:56 +00:00

chore: rename default branch to main

This commit is contained in:
Nick McCurdy 2022-09-25 12:41:53 -04:00
parent e1fe1fc00a
commit 4b8114c504
4 changed files with 9 additions and 9 deletions

View file

@ -1,2 +1,2 @@
# Contributing # Contributing
The repository is released under the MIT license, and follows a standard Github development process, using Github tracker for issues and merging pull requests into master. The repository is released under the MIT license, and follows a standard Github development process, using Github tracker for issues and merging pull requests into main.

View file

@ -3,7 +3,7 @@ name: Check Pull Request
on: on:
pull_request: pull_request:
branches: branches:
- master - main
jobs: jobs:
release: release:
@ -16,7 +16,7 @@ jobs:
- name: Semantic Release - name: Semantic Release
uses: ./ uses: ./
with: with:
branch: master branch: main
extra_plugins: | extra_plugins: |
@semantic-release/git @semantic-release/git
@semantic-release/changelog @semantic-release/changelog

View file

@ -69,11 +69,11 @@ jobs:
dry_run: true dry_run: true
branches: | branches: |
[ [
'master', 'main',
{name: 'beta', prerelease: true}, {name: 'beta', prerelease: true},
{name: 'alpha', prerelease: true} {name: 'alpha', prerelease: true}
] ]
branch: master branch: main
extra_plugins: | extra_plugins: |
@semantic-release/git@7 @semantic-release/git@7
@semantic-release/changelog@3 @semantic-release/changelog@3

View file

@ -8,9 +8,9 @@
GitHub Action for [Semantic Release][semantic-url]. GitHub Action for [Semantic Release][semantic-url].
## Usage ## Usage
### Step1: Set any [Semantic Release Configuration](https://github.com/semantic-release/semantic-release/blob/master/docs/usage/configuration.md#configuration) in your repository. ### Step1: Set any [Semantic Release Configuration](https://github.com/semantic-release/semantic-release/blob/main/docs/usage/configuration.md#configuration) in your repository.
### Step2: [Add Secrets](https://help.github.com/en/actions/configuring-and-managing-workflows/creating-and-storing-encrypted-secrets) in your repository for the [Semantic Release Authentication](https://github.com/semantic-release/semantic-release/blob/master/docs/usage/ci-configuration.md#authentication) Environment Variables. ### Step2: [Add Secrets](https://help.github.com/en/actions/configuring-and-managing-workflows/creating-and-storing-encrypted-secrets) in your repository for the [Semantic Release Authentication](https://github.com/semantic-release/semantic-release/blob/main/docs/usage/ci-configuration.md#authentication) Environment Variables.
### Step3: Add a [Workflow File](https://help.github.com/en/articles/workflow-syntax-for-github-actions) to your repository to create custom automated processes. ### Step3: Add a [Workflow File](https://help.github.com/en/articles/workflow-syntax-for-github-actions) to your repository to create custom automated processes.
@ -277,8 +277,8 @@ This project is released under the [MIT License][license-url].
[semantic-url]: https://github.com/semantic-release/semantic-release [semantic-url]: https://github.com/semantic-release/semantic-release
[license-image]: https://img.shields.io/npm/l/@cycjimmy/semantic-release-action.svg [license-image]: https://img.shields.io/npm/l/@cycjimmy/semantic-release-action.svg
[license-url]: https://github.com/cycjimmy/semantic-release-action/blob/master/LICENSE [license-url]: https://github.com/cycjimmy/semantic-release-action/blob/main/LICENSE
[changelog-url]: https://github.com/cycjimmy/semantic-release-action/blob/master/docs/CHANGELOG.md [changelog-url]: https://github.com/cycjimmy/semantic-release-action/blob/main/docs/CHANGELOG.md
[github-packages-registry]: https://github.com/features/packages [github-packages-registry]: https://github.com/features/packages