From 2eb57599c8c5ee092981b2a12e4ef8af105681ec Mon Sep 17 00:00:00 2001 From: Franco Date: Wed, 29 Jul 2026 13:21:21 -0300 Subject: [PATCH] fix(update-chart): ensure automated-update label exists --- .github/workflows/update-chart.yaml | 9 +++++++++ CHANGELOG.md | 6 ++++++ 2 files changed, 15 insertions(+) diff --git a/.github/workflows/update-chart.yaml b/.github/workflows/update-chart.yaml index 177ba62..c57e017 100644 --- a/.github/workflows/update-chart.yaml +++ b/.github/workflows/update-chart.yaml @@ -123,6 +123,15 @@ jobs: remote_repo: "https://${{ github.actor }}:${{ secrets.TAYLORBOT_GITHUB_ACTION }}@github.com/${{ github.repository }}.git" run: | git push "${remote_repo}" HEAD:${{ needs.gather_facts.outputs.branch }} + - name: Ensure automated-update label exists + env: + GITHUB_TOKEN: "${{ secrets.TAYLORBOT_GITHUB_ACTION }}" + run: | + gh label create automated-update \ + --repo "${{ github.repository }}" \ + --color e86d00 \ + --description "Used to identify automated updates from upstream-forks" \ + --force - name: Update PR env: GITHUB_TOKEN: "${{ secrets.TAYLORBOT_GITHUB_ACTION }}" diff --git a/CHANGELOG.md b/CHANGELOG.md index 4d83a5d..e5d21d3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), however this project does not use Semantic Versioning and there are no releases. Instead this file uses a date-based structure. +## 2026-07-29 + +### Fixed + +- `update-chart.yaml` — create the `automated-update` label before opening the PR, so `gh pr create` no longer fails in repositories where the label is missing. + ## 2026-07-23 ### Changed