You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
vitepress/.github/workflows/cr-comment.yml

20 lines
556 B

name: Add continuous release label
on:
issue_comment:
types: [created]
permissions:
pull-requests: 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
github_token: ${{ secrets.CR_PAT }}