Skip to content

Commit 7fbb13d

Browse files
committed
refactor: Disable dry-run mode
1 parent d88266f commit 7fbb13d

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.github/workflows/cd-semver.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ on:
44
push:
55
branches:
66
- main
7-
- add-semver-workflow
87

98
jobs:
109
release:
@@ -13,7 +12,7 @@ jobs:
1312
runs-on: ubuntu-latest
1413
timeout-minutes: 10
1514
env:
16-
DRY_RUN: true
15+
DRY_RUN: false
1716
steps:
1817
- name: Checkout
1918
uses: actions/checkout@v3
@@ -28,7 +27,7 @@ jobs:
2827
GITHUB_TOKEN: ${{ github.token }}
2928
with:
3029
dry-run: ${{ env.DRY_RUN }}
31-
release-branches: '["main", "add-semver-workflow"]'
30+
release-branches: '["main"]'
3231
commit-assets: |
3332
./dist
3433
release-rules-append: |
@@ -44,7 +43,7 @@ jobs:
4443
]
4544
4645
- uses: actions/checkout@v3
47-
if: steps.release.outputs.released == 'true'
46+
if: steps.release.outputs.released == 'true' && env.DRY_RUN == 'false'
4847
with:
4948
fetch-depth: 1
5049
persist-credentials: true

.github/workflows/ci-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ jobs:
2222
if: github.event_name == 'pull_request'
2323
with:
2424
file-path: README.md
25-
commit-msg: Update github actions documentation
25+
commit-msg: 'docs: Update github actions documentation [skip release]'
2626
github-token: ${{ github.token }}
2727
branch: ${{ github.head_ref }}

0 commit comments

Comments
 (0)