ci: use pull_request_target for greeting

This commit is contained in:
nils måsén 2022-10-14 12:26:37 +02:00 committed by GitHub
parent fc401dae75
commit faa94c4fd1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,10 +1,11 @@
name: Greetings name: Greetings
on: on:
pull_request: {} # Runs in the context of the target (containrrr/watchtower) repository, and as such has access to GITHUB_TOKEN
pull_request_target:
types: [opened]
issues: issues:
types: types: [opened]
- opened
jobs: jobs:
greeting: greeting: