Skip to content

Commit

Permalink
Fix target triggers
Browse files Browse the repository at this point in the history
  • Loading branch information
driazati committed Jan 19, 2022
1 parent 8b4e74c commit c35db25
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/cc_bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@
name: PR

on:
# See https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target
pull_request_target:
types: [assigned, opened, synchronize, reopened]
types: [assigned, opened, synchronize, reopened, edited, ready_for_review]

concurrency:
group: PR-${{ github.event.pull_request.number }}
Expand All @@ -36,7 +37,7 @@ jobs:
- uses: actions/checkout@v2
with:
submodules: "recursive"
- name: Check if PR is ready
- name: Add cc'ed reviewers
env:
PR: ${{ toJson(github.event.pull_request) }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit c35db25

Please sign in to comment.