mirror of
https://github.com/codex-team/editor.js
synced 2024-06-10 09:52:36 +02:00
Change workflows trigger (#2595)
This commit is contained in:
parent
b619946e8f
commit
7ff5faa46f
|
@ -1,7 +1,14 @@
|
|||
name: Bump version on merge
|
||||
|
||||
# Caution:
|
||||
# the use of "pull_request_target" trigger allows to successfully
|
||||
# run workflow even when triggered from a fork. The trigger grants
|
||||
# access to repo's secrets and gives write permission to the runner.
|
||||
# This can be used to run malicious code on untrusted PR, so, please
|
||||
# DO NOT checkout any PR's ongoing commits (aka github.event.pull_request.head.sha)
|
||||
# while using this trigger.
|
||||
on:
|
||||
pull_request:
|
||||
pull_request_target:
|
||||
branches:
|
||||
- next
|
||||
types: [closed]
|
||||
|
|
9
.github/workflows/create-a-release-draft.yml
vendored
9
.github/workflows/create-a-release-draft.yml
vendored
|
@ -1,7 +1,14 @@
|
|||
name: Create a release draft
|
||||
|
||||
# Caution:
|
||||
# the use of "pull_request_target" trigger allows to successfully
|
||||
# run workflow even when triggered from a fork. The trigger grants
|
||||
# access to repo's secrets and gives write permission to the runner.
|
||||
# This can be used to run malicious code on untrusted PR, so, please
|
||||
# DO NOT checkout any PR's ongoing commits (aka github.event.pull_request.head.sha)
|
||||
# while using this trigger.
|
||||
on:
|
||||
pull_request:
|
||||
pull_request_target:
|
||||
branches:
|
||||
- next
|
||||
types: [closed]
|
||||
|
|
Loading…
Reference in a new issue