mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 09:40:20 +00:00
Create the release notes template(if missing)
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
This commit is contained in:
parent
0b0c29e79c
commit
bf964ccd25
5 changed files with 50 additions and 0 deletions
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
|
@ -316,6 +316,16 @@ jobs:
|
|||
tools changelog update-rpm --draft
|
||||
tools changelog update-rpm
|
||||
|
||||
- name: Create Release Notes Template
|
||||
shell: bash
|
||||
if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}
|
||||
run: |
|
||||
if [ "${{ contains(fromJSON('["master"]'), github.ref_name) }}" == "true" ]; then
|
||||
tools changelog update-release-notes --next-release --template-only
|
||||
else
|
||||
tools changelog update-release-notes --template-only
|
||||
fi
|
||||
|
||||
- name: Update Release Notes
|
||||
shell: bash
|
||||
if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}
|
||||
|
|
10
.github/workflows/nightly.yml
vendored
10
.github/workflows/nightly.yml
vendored
|
@ -369,6 +369,16 @@ jobs:
|
|||
tools changelog update-rpm --draft
|
||||
tools changelog update-rpm
|
||||
|
||||
- name: Create Release Notes Template
|
||||
shell: bash
|
||||
if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}
|
||||
run: |
|
||||
if [ "${{ contains(fromJSON('["master"]'), github.ref_name) }}" == "true" ]; then
|
||||
tools changelog update-release-notes --next-release --template-only
|
||||
else
|
||||
tools changelog update-release-notes --template-only
|
||||
fi
|
||||
|
||||
- name: Update Release Notes
|
||||
shell: bash
|
||||
if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}
|
||||
|
|
10
.github/workflows/scheduled.yml
vendored
10
.github/workflows/scheduled.yml
vendored
|
@ -359,6 +359,16 @@ jobs:
|
|||
tools changelog update-rpm --draft
|
||||
tools changelog update-rpm
|
||||
|
||||
- name: Create Release Notes Template
|
||||
shell: bash
|
||||
if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}
|
||||
run: |
|
||||
if [ "${{ contains(fromJSON('["master"]'), github.ref_name) }}" == "true" ]; then
|
||||
tools changelog update-release-notes --next-release --template-only
|
||||
else
|
||||
tools changelog update-release-notes --template-only
|
||||
fi
|
||||
|
||||
- name: Update Release Notes
|
||||
shell: bash
|
||||
if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}
|
||||
|
|
10
.github/workflows/staging.yml
vendored
10
.github/workflows/staging.yml
vendored
|
@ -359,6 +359,16 @@ jobs:
|
|||
tools changelog update-rpm --draft
|
||||
tools changelog update-rpm
|
||||
|
||||
- name: Create Release Notes Template
|
||||
shell: bash
|
||||
if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}
|
||||
run: |
|
||||
if [ "${{ contains(fromJSON('["master"]'), github.ref_name) }}" == "true" ]; then
|
||||
tools changelog update-release-notes --next-release --template-only
|
||||
else
|
||||
tools changelog update-release-notes --template-only
|
||||
fi
|
||||
|
||||
- name: Update Release Notes
|
||||
shell: bash
|
||||
if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}
|
||||
|
|
10
.github/workflows/templates/ci.yml.jinja
vendored
10
.github/workflows/templates/ci.yml.jinja
vendored
|
@ -112,6 +112,16 @@ on:
|
|||
tools changelog update-rpm --draft
|
||||
tools changelog update-rpm
|
||||
|
||||
- name: Create Release Notes Template
|
||||
shell: bash
|
||||
if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}
|
||||
run: |
|
||||
if [ "${{ contains(fromJSON('["master"]'), github.ref_name) }}" == "true" ]; then
|
||||
tools changelog update-release-notes --next-release --template-only
|
||||
else
|
||||
tools changelog update-release-notes --template-only
|
||||
fi
|
||||
|
||||
- name: Update Release Notes
|
||||
shell: bash
|
||||
if: ${{ startsWith(github.event.ref, 'refs/tags') == false }}
|
||||
|
|
Loading…
Add table
Reference in a new issue