Skip to content

Commit a979333

Browse files
authored
chore: add label, remove old release config (#5)
1 parent af80197 commit a979333

File tree

2 files changed

+17
-4
lines changed

2 files changed

+17
-4
lines changed

.github/workflows/label.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
on: pull_request_target
2+
3+
jobs:
4+
apply-label:
5+
if: github.event.pull_request.head.repo.full_name != github.repository
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: actions/github-script@v3
9+
with:
10+
github-token: ${{secrets.GITHUB_TOKEN}}
11+
script: |
12+
github.issues.addLabels({
13+
issue_number: context.issue.number,
14+
owner: context.repo.owner,
15+
repo: context.repo.repo,
16+
labels: ['Fork']
17+
})

.github/workflows/release-please.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,6 @@ jobs:
6969
bump-minor-pre-major: true
7070
fork: true
7171
package-name: ${{env.ACTION_NAME}}
72-
path: ${{env.ACTION_NAME}}
73-
monorepo-tags: ${{env.ACTION_NAME}}
7472
command: release-pr
7573
release-please-release:
7674
runs-on: ubuntu-latest
@@ -82,6 +80,4 @@ jobs:
8280
release-type: node
8381
bump-minor-pre-major: true
8482
package-name: ${{env.ACTION_NAME}}
85-
path: ${{env.ACTION_NAME}}
86-
monorepo-tags: ${{env.ACTION_NAME}}
8783
command: github-release

0 commit comments

Comments
 (0)