Skip to content
Snippets Groups Projects
Unverified Commit 4c96dca6 authored by Alexander Samusev's avatar Alexander Samusev Committed by GitHub
Browse files

[ci] Fix gitspiegel trigger (#3297)

PR removes `pull_request_target` from gitspiegel trigger because it
breaks the logic. With `pull_request_target` the action runs in any case
even for first-time contributors.

cc @mutantcornholio
parent b2a62a56
No related merge requests found
Pipeline #444429 failed with stages
in 31 minutes and 58 seconds
......@@ -13,14 +13,15 @@ on:
- unlocked
- ready_for_review
- reopened
# doesn't work as intended, triggers "workflow_run" webhook in any case
# the job doesn't check out any code, so it is relatively safe to run it on any event
pull_request_target:
types:
- opened
- synchronize
- unlocked
- ready_for_review
- reopened
# pull_request_target:
# types:
# - opened
# - synchronize
# - unlocked
# - ready_for_review
# - reopened
merge_group:
# drop all permissions for GITHUB_TOKEN
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment