mirror of
https://github.com/ansible-middleware/keycloak.git
synced 2025-04-08 11:50:29 -07:00
ci: changelogs skip unlabeled PRs
This commit is contained in:
parent
9d57057272
commit
29aaafb9e4
2 changed files with 2 additions and 2 deletions
2
.github/workflows/docs.yml
vendored
2
.github/workflows/docs.yml
vendored
|
@ -73,7 +73,7 @@ jobs:
|
||||||
PR=$(echo $frag|cut -d~ -f2)
|
PR=$(echo $frag|cut -d~ -f2)
|
||||||
type="$(echo $frag|cut -d~ -f3)"
|
type="$(echo $frag|cut -d~ -f3)"
|
||||||
msg="$(echo $frag|cut -d~ -f4|sed 's/`/``/g')"
|
msg="$(echo $frag|cut -d~ -f4|sed 's/`/``/g')"
|
||||||
if [[ "${TYPES[*]}" =~ "${type}" ]]; then
|
if [[ "$type" != "" && "${TYPES[*]}" =~ "${type}" ]]; then
|
||||||
echo -e "$type:\n - >\n $msg \`#${PR} <https://github.com/ansible-middleware/keycloak/pull/${PR}>\`_" \
|
echo -e "$type:\n - >\n $msg \`#${PR} <https://github.com/ansible-middleware/keycloak/pull/${PR}>\`_" \
|
||||||
> changelogs/fragments/${PR}.yaml
|
> changelogs/fragments/${PR}.yaml
|
||||||
fi
|
fi
|
||||||
|
|
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
@ -60,7 +60,7 @@ jobs:
|
||||||
PR=$(echo $frag|cut -d~ -f2)
|
PR=$(echo $frag|cut -d~ -f2)
|
||||||
type="$(echo $frag|cut -d~ -f3)"
|
type="$(echo $frag|cut -d~ -f3)"
|
||||||
msg="$(echo $frag|cut -d~ -f4|sed 's/`/``/g')"
|
msg="$(echo $frag|cut -d~ -f4|sed 's/`/``/g')"
|
||||||
if [[ "${TYPES[*]}" =~ "${type}" ]]; then
|
if [[ "$type" != "" && "${TYPES[*]}" =~ "${type}" ]]; then
|
||||||
echo -e "$type:\n - >\n $msg \`#${PR} <https://github.com/ansible-middleware/keycloak/pull/${PR}>\`_" \
|
echo -e "$type:\n - >\n $msg \`#${PR} <https://github.com/ansible-middleware/keycloak/pull/${PR}>\`_" \
|
||||||
> changelogs/fragments/${PR}.yaml
|
> changelogs/fragments/${PR}.yaml
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue