讨论:对于已经是注释的行的代码差异标记是否应该不再需要再添加多余的注释标记? #979
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Add continuous release label | |
| on: | |
| issue_comment: | |
| types: [created] | |
| permissions: | |
| pull-requests: write | |
| jobs: | |
| label: | |
| if: ${{ github.event.issue.pull_request && (github.event.comment.user.id == github.event.issue.user.id || github.event.comment.author_association == 'MEMBER' || github.event.comment.author_association == 'COLLABORATOR') && startsWith(github.event.comment.body, '/publish') }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - run: gh issue edit ${{ github.event.issue.number }} --add-label cr-tracked --repo ${{ github.repository }} | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.CR_PAT }} |