mirror of
https://github.com/falcosecurity/falco.git
synced 2025-09-24 03:19:40 +00:00
chore(ci): only run release-body for latest releases, and properly override release name.
Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
This commit is contained in:
committed by
poiana
parent
49adbf6d08
commit
086deb9c6d
2
.github/workflows/release.yaml
vendored
2
.github/workflows/release.yaml
vendored
@@ -125,6 +125,7 @@ jobs:
|
|||||||
|
|
||||||
release-body:
|
release-body:
|
||||||
needs: [release-settings, publish-docker]
|
needs: [release-settings, publish-docker]
|
||||||
|
if: ${{ needs.release-settings.outputs.is_latest == 'true' }} # only for latest releases
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Clone repo
|
- name: Clone repo
|
||||||
@@ -157,3 +158,4 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
body_path: ./release-body.md
|
body_path: ./release-body.md
|
||||||
tag_name: ${{ github.event.release.tag_name }}
|
tag_name: ${{ github.event.release.tag_name }}
|
||||||
|
name: ${{ github.event.release.name }}
|
||||||
|
Reference in New Issue
Block a user