mirror of
https://github.com/LibreSign/libresign.git
synced 2025-12-17 21:12:16 +01:00
Merge pull request #5675 from LibreSign/fix/run-only-into-stable-branches
fix: run only into stable branches
This commit is contained in:
commit
4e946815c3
1 changed files with 8 additions and 2 deletions
10
.github/workflows/release-drafter.yml
vendored
10
.github/workflows/release-drafter.yml
vendored
|
|
@ -12,13 +12,19 @@ on:
|
|||
branches:
|
||||
- stable*
|
||||
pull_request_target:
|
||||
branches:
|
||||
- stable*
|
||||
types: [closed]
|
||||
|
||||
jobs:
|
||||
update_release_draft:
|
||||
if: >
|
||||
github.event_name == 'push' ||
|
||||
(github.event_name == 'pull_request_target' && github.event.pull_request.merged == true)
|
||||
(github.event_name == 'push' && startsWith(github.ref, 'refs/heads/stable')) ||
|
||||
(
|
||||
github.event_name == 'pull_request_target' &&
|
||||
github.event.pull_request.merged == true &&
|
||||
startsWith(github.event.pull_request.base.ref, 'stable')
|
||||
)
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue