Skip to content

chore(notification): Setup notification service #4

chore(notification): Setup notification service

chore(notification): Setup notification service #4

name: Pull Request Ready for Review
on:
pull_request_target:
types: [ready_for_review]
jobs:
pullRequestReadyForReview:
runs-on: ubuntu-latest
steps:
- name: Label "ready for review"
uses: actions/github-script@v7
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
await github.rest.issues.addLabels({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
labels: ['ready for review']
})