5
0
Fork 0
mirror of https://github.com/cycjimmy/semantic-release-action.git synced 2025-11-07 02:36:55 +00:00

Merge pull request #124 from nickmccurdy/rename-to-main

chore: rename default branch to main
This commit is contained in:
Geoffrey.C 2022-09-30 21:32:11 +08:00 committed by GitHub
commit 269aa6bf89
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 9 deletions

View file

@ -1,2 +1,2 @@
# 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:
pull_request:
branches:
- master
- main
jobs:
release:
@ -16,7 +16,7 @@ jobs:
- name: Semantic Release
uses: ./
with:
branch: master
branch: main
extra_plugins: |
@semantic-release/git
@semantic-release/changelog

View file

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

View file

@ -8,9 +8,9 @@
GitHub Action for [Semantic Release][semantic-url].
## 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.
@ -277,8 +277,8 @@ This project is released under the [MIT License][license-url].
[semantic-url]: https://github.com/semantic-release/semantic-release
[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