mirror of
https://github.com/cycjimmy/semantic-release-action.git
synced 2025-11-07 10:46:56 +00:00
Merge pull request #124 from nickmccurdy/rename-to-main
chore: rename default branch to main
This commit is contained in:
commit
269aa6bf89
4 changed files with 9 additions and 9 deletions
2
.github/CONTRIBUTING.md
vendored
2
.github/CONTRIBUTING.md
vendored
|
|
@ -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.
|
||||||
|
|
|
||||||
4
.github/workflows/checkPullRequest.yml
vendored
4
.github/workflows/checkPullRequest.yml
vendored
|
|
@ -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
|
||||||
|
|
|
||||||
4
.github/workflows/testRelease.yml
vendored
4
.github/workflows/testRelease.yml
vendored
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue