mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-03 03:15:20 +00:00
.github: Don't try and create releases for created branches
Dependabot will create a branch on the repo for it's updates this triggers the release action (because it's the same event as a tag) which will then fail leading to dependabot PRs not being automerged. Instead only run the release check test on PRs or tag creation. Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
parent
089dffcb49
commit
f6c058da56
1
.github/workflows/release.yaml
vendored
1
.github/workflows/release.yaml
vendored
@ -3,6 +3,7 @@ on: [pull_request, create]
|
||||
|
||||
jobs:
|
||||
release:
|
||||
if: (github.event_name == 'create' && github.event.ref_type == 'tag') || github.event_name == 'pull_request'
|
||||
name: Release
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
Loading…
Reference in New Issue
Block a user