Skip to content

Commit 0ca34ae

Browse files
committed
ci: remove unused ci var
1 parent 846adb1 commit 0ca34ae

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
name: Release
22
on:
3-
push:
4-
branches:
5-
- main
3+
workflow_run:
4+
workflows: [test]
5+
branches: [main]
6+
types: [completed]
67
jobs:
78
release:
89
name: Release
@@ -25,5 +26,4 @@ jobs:
2526
env:
2627
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2728
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
28-
NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
2929
run: npx semantic-release

.github/workflows/test.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
name: Test
2-
3-
on: [pull_request, push]
4-
2+
on: [push, workflow_call]
53
jobs:
64
test:
75
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)