Skip to content

Commit

Permalink
feat: test out dry_run
Browse files Browse the repository at this point in the history
  • Loading branch information
dib542 committed Sep 20, 2023
1 parent beb7525 commit e8d8e73
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/deploy_semantic_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- main
- fix-semantic-release

jobs:
semantic_release:
Expand All @@ -22,13 +23,16 @@ jobs:
uses: cycjimmy/semantic-release-action@v4
id: semantic
with:
dry_run: true
branch: fix-semantic-release
# replace master branch with main as a release branch
# see https://github.com/semantic-release/semantic-release/issues/1581
# note that branches may already be filtered by the triggers of this workflow
branches: |
[
'+([0-9])?(.{+([0-9]),x}).x',
'main',
'fix-semantic-release',
'next',
'next-major',
{
Expand Down
4 changes: 2 additions & 2 deletions release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
**/

module.exports = {
branches: ['main'],
dryRun: false,
branches: ['main', 'fix-semantic-release'],
dryRun: true,
plugins: [
// determine what type of semver change this commit may generate
[
Expand Down

0 comments on commit e8d8e73

Please sign in to comment.