Skip to content

Commit bfbc8c1

Browse files
fix(ci): fold semantic-release into CI as post-check release job
1 parent e8295c3 commit bfbc8c1

2 files changed

Lines changed: 24 additions & 28 deletions

File tree

.github/workflows/ci.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,27 @@ jobs:
1616
- uses: ./.github/actions/setup
1717

1818
- run: pnpm turbo lint typecheck test build --filter=@openconcho/web
19+
20+
release:
21+
name: Release
22+
needs: check
23+
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
24+
runs-on: ubuntu-latest
25+
permissions:
26+
contents: write
27+
issues: write
28+
pull-requests: write
29+
steps:
30+
- uses: actions/checkout@v4
31+
with:
32+
fetch-depth: 0
33+
34+
- uses: ./.github/actions/setup
35+
36+
- run: pnpm exec semantic-release
37+
env:
38+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
39+
GIT_AUTHOR_NAME: github-actions[bot]
40+
GIT_AUTHOR_EMAIL: github-actions[bot]@users.noreply.github.com
41+
GIT_COMMITTER_NAME: github-actions[bot]
42+
GIT_COMMITTER_EMAIL: github-actions[bot]@users.noreply.github.com

.github/workflows/semantic-release.yml

Lines changed: 0 additions & 28 deletions
This file was deleted.

0 commit comments

Comments
 (0)