approved-for-ci-run.yml: trigger on pull_request_target (#5212)

## Problem

Continuation of #4663, #5210

We're still getting an error:
```
GraphQL: Resource not accessible by integration (removeLabelsFromLabelable)
```

## Summary of changes
- trigger `approved-for-ci-run.yml` workflow on `pull_request_target`
instead of `pull_request`
This commit is contained in:
Alexander Bayandin
2023-09-06 11:14:07 +01:00
committed by GitHub
parent dbfb4ea7b8
commit 15ff4e5fd1

View File

@@ -2,7 +2,7 @@ name: Handle `approved-for-ci-run` label
# This workflow helps to run CI pipeline for PRs made by external contributors (from forks).
on:
pull_request:
pull_request_target:
branches:
- main
types: