Add the no-changelog label to automated PRs (#33854)

These are for things like version updates in the docs and
AWS AMI IDs.
This commit is contained in:
Zac Bergquist 2023-10-25 09:33:35 -06:00 committed by GitHub
parent 71a37bf50c
commit a87be85859
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 8 deletions

View file

@ -89,12 +89,12 @@ jobs:
# for docker images replace version number after <docker image name>:
jq --arg major ${{ steps.get-branch.outputs.major }} \
--arg version ${{ steps.get-branch.outputs.version }} \
'.variables.teleport.major_version |= $major |
.variables.teleport.version |= $version |
.variables.teleport.plugin.version |= $version |
.variables.teleport.latest_oss_docker_image |= sub(":.*";":")+$version |
.variables.teleport.latest_oss_debug_docker_image |= sub(":.*";":")+$version |
.variables.teleport.latest_ent_docker_image |= sub(":.*";":")+$version |
'.variables.teleport.major_version |= $major |
.variables.teleport.version |= $version |
.variables.teleport.plugin.version |= $version |
.variables.teleport.latest_oss_docker_image |= sub(":.*";":")+$version |
.variables.teleport.latest_oss_debug_docker_image |= sub(":.*";":")+$version |
.variables.teleport.latest_ent_docker_image |= sub(":.*";":")+$version |
.variables.teleport.latest_ent_debug_docker_image |= sub(":.*";":")+$version' \
docs/config.json > docs/confignew.json
cat docs/confignew.json
@ -104,6 +104,6 @@ jobs:
git switch -c $BRANCH_NAME
git commit -am "[auto] docs: Update version to ${{ github.event.release.tag_name }}"
git push --set-upstream origin $BRANCH_NAME
gh pr create --fill --label=automated --label=documentation --base=${{ steps.get-branch.outputs.branch }}
gh pr create --fill --label=automated --label=documentation --label=no-changelog --base=${{ steps.get-branch.outputs.branch }}
env:
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}

View file

@ -136,4 +136,4 @@ create-update-pr: update-ami-ids-terraform
git checkout -b $(AUTO_BRANCH_NAME)
git commit -am "[auto] Update AMI IDs for $(TELEPORT_VERSION)"
git push --set-upstream origin $(AUTO_BRANCH_NAME)
gh pr create --fill --label automated --label terraform
gh pr create --fill --label=automated --label=terraform --label=no-changelog