mirror of https://github.com/vuejs/vitepress
ci: setup pkg.pr.new (#4062)
parent
cccc231f21
commit
d78c83bf72
@ -0,0 +1,16 @@
|
||||
### Description
|
||||
|
||||
<!-- Please insert your description here and provide especially info about the "what" this PR is solving. -->
|
||||
|
||||
### Linked Issues
|
||||
|
||||
<!-- e.g. fixes #123 -->
|
||||
|
||||
### Additional context
|
||||
|
||||
<!-- e.g. is there anything you'd like reviewers to focus on? -->
|
||||
|
||||
---
|
||||
|
||||
> [!TIP]
|
||||
> The owner of this PR can publish a _preview release_ by commenting `/publish` in this PR.
|
@ -0,0 +1,18 @@
|
||||
name: Add continuous release label
|
||||
|
||||
on:
|
||||
issue_comment:
|
||||
types: [created]
|
||||
|
||||
permissions:
|
||||
issues: write
|
||||
|
||||
jobs:
|
||||
cr_comment:
|
||||
if: github.event.issue.pull_request && (github.event.comment.user.id == github.event.issue.user.id || contains('OWNER,MEMBER,COLLABORATOR', github.event.comment.author_association)) && startsWith(github.event.comment.body, '/publish')
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions-ecosystem/action-add-labels@v1
|
||||
with:
|
||||
labels: cr-tracked
|
Loading…
Reference in new issue