Skip to content

主题bug

主题bug #9

Workflow file for this run

name: Auto-Assign
on:
issues:
types: [opened]
pull_request:
types: [opened]
jobs:
add-assigness:
permissions:
contents: write
id-token: write
issues: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: akinocccc/[email protected]
id: candidate
with:
token: ${{ secrets.GH_TOKEN }}
- uses: wow-actions/auto-assign@v3
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# using the `org/team_slug` or `/team_slug` syntax to add git team as reviewers
reviewers: ${{ steps.candidate.outputs['candidates_string'] }}
assignees: ${{ steps.candidate.outputs['candidates_string'] }}
skipKeywords: wip, draft
- name: Notification
if: steps.candidate.outputs['candidates_string'] != github.event.issue.user.login
uses: wow-actions/auto-comment@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
issuesOpened: |
♥️ ${{ steps.candidate.outputs.at_candidates_string }}, please verify the issue as soon as possible. Once it's verified, please reply to @${{ github.event.issue.user.login }} with the next steps and the estimated time required.
<!-- AUTO_ASSIGENEES_NOTIFY_HOOK -->
pullRequestOpened: |
♥️ ${{ steps.candidate.outputs.at_candidates_string }}, please reviews the pull request as soon as possible.
<!-- AUTO_ASSIGENEES_NOTIFY_HOOK -->