From 0b06462a9c32fc080fc6b13e256c77d38d8fbfdb Mon Sep 17 00:00:00 2001 From: Ed Morley <501702+edmorley@users.noreply.github.com> Date: Tue, 17 Oct 2023 14:42:20 +0100 Subject: [PATCH] Set required labels on the automatic pack version update PRs When a new Pack CLI version is released, automation opens PRs like: https://github.com/buildpacks/github-actions/pull/227 Currently the human reviewer has to remember to set the semver and type labels on that PR in order for the status checks to pass. Now, the automation will set these itself on the PR. --- .github/workflows/update-pack-version.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/update-pack-version.yml b/.github/workflows/update-pack-version.yml index 9f307e8..a02dbf7 100644 --- a/.github/workflows/update-pack-version.yml +++ b/.github/workflows/update-pack-version.yml @@ -30,6 +30,9 @@ jobs: Release notes: https://github.com/buildpacks/pack/releases/tag/v${{ steps.version.outputs.new_version }} + labels: | + semver:patch + type:dependency-upgrade branch: update-version base: main signoff: true