File tree Expand file tree Collapse file tree 2 files changed +17
-4
lines changed Expand file tree Collapse file tree 2 files changed +17
-4
lines changed Original file line number Diff line number Diff line change
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
+ })
Original file line number Diff line number Diff line change 69
69
bump-minor-pre-major : true
70
70
fork : true
71
71
package-name : ${{env.ACTION_NAME}}
72
- path : ${{env.ACTION_NAME}}
73
- monorepo-tags : ${{env.ACTION_NAME}}
74
72
command : release-pr
75
73
release-please-release :
76
74
runs-on : ubuntu-latest
82
80
release-type : node
83
81
bump-minor-pre-major : true
84
82
package-name : ${{env.ACTION_NAME}}
85
- path : ${{env.ACTION_NAME}}
86
- monorepo-tags : ${{env.ACTION_NAME}}
87
83
command : github-release
You can’t perform that action at this time.
0 commit comments