mirror of
https://github.com/LibreSign/libresign.git
synced 2025-12-18 05:20:45 +01:00
fix: make possible to work when is coming from a fork
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
This commit is contained in:
parent
3b915e6950
commit
79d201a337
1 changed files with 4 additions and 1 deletions
5
.github/workflows/release-drafter.yml
vendored
5
.github/workflows/release-drafter.yml
vendored
|
|
@ -16,7 +16,10 @@ on:
|
|||
|
||||
jobs:
|
||||
update_release_draft:
|
||||
if: github.event.pull_request.merged == true || github.event_name == 'push'
|
||||
if: >
|
||||
(github.event_name == 'push' && startsWith(github.ref, 'refs/heads/main')) ||
|
||||
(github.event_name == 'pull_request_target' && github.event.pull_request.merged == true)
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: release-drafter/release-drafter@v6
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue