Skip to content

Commit 7dc36ed

Browse files
authored
chore(CI): remove release with comment feature (#1130)
1 parent 54c02a3 commit 7dc36ed

File tree

1 file changed

+0
-50
lines changed

1 file changed

+0
-50
lines changed

.github/workflows/release.yml

-50
Original file line numberDiff line numberDiff line change
@@ -24,56 +24,6 @@ permissions:
2424
id-token: write
2525

2626
jobs:
27-
issue_commentd:
28-
name: Release with commentd
29-
if: github.repository == 'web-infra-dev/rspress' && (github.event.issue.pull_request && contains(github.event.comment.body, '!canary'))
30-
runs-on: ubuntu-latest
31-
32-
steps:
33-
- name: Checkout Repo
34-
uses: actions/checkout@v3
35-
with:
36-
fetch-depth: 1
37-
ref: refs/pull/${{ github.event.issue.number }}/head
38-
39-
- name: Install Pnpm
40-
run: corepack enable
41-
42-
- name: Setup Node.js 18
43-
uses: actions/setup-node@v4
44-
with:
45-
node-version: '18'
46-
cache: 'pnpm'
47-
48-
- name: Install npm v9
49-
run: npm install -g npm@9
50-
51-
- name: Nx Cache
52-
id: nx-cache
53-
uses: actions/cache@v3
54-
with:
55-
path: .nx-cache
56-
key: nx-${{ github.ref_name }}-${{ github.sha }}
57-
restore-keys: |
58-
nx-${{ github.ref_name }}-
59-
nx-
60-
61-
- name: Install Dependencies && Build
62-
run: pnpm install
63-
64-
- name: Release
65-
uses: web-infra-dev/actions@v2
66-
with:
67-
version: 'next'
68-
type: 'release'
69-
branch: ''
70-
tools: 'changeset'
71-
env:
72-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
73-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
74-
REPOSITORY: ${{ github.repository }}
75-
PULL_REQUEST_NUMBER: ${{ github.event.issue.number }}
76-
COMMENT: ${{ toJson(github.event.comment) }}
7727
release:
7828
name: Release
7929
if: github.repository == 'web-infra-dev/rspress' && github.event_name == 'workflow_dispatch'

0 commit comments

Comments
 (0)