Skip to content

Commit bd64f2e

Browse files
authored
chore: add label, remove old release config (#4)
1 parent 1209b2e commit bd64f2e

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
@@ -71,8 +71,6 @@ jobs:
7171
bump-minor-pre-major: true
7272
fork: true
7373
package-name: ${{env.ACTION_NAME}}
74-
path: ${{env.ACTION_NAME}}
75-
monorepo-tags: ${{env.ACTION_NAME}}
7674
command: release-pr
7775
release-please-release:
7876
runs-on: ubuntu-latest
@@ -84,6 +82,4 @@ jobs:
8482
release-type: node
8583
bump-minor-pre-major: true
8684
package-name: ${{env.ACTION_NAME}}
87-
path: ${{env.ACTION_NAME}}
88-
monorepo-tags: ${{env.ACTION_NAME}}
8985
command: github-release

0 commit comments

Comments
 (0)