From 003f8a4481709d3e708cc70f28333f5ade30a946 Mon Sep 17 00:00:00 2001 From: Krzesimir Nowak Date: Tue, 28 Mar 2023 18:32:18 +0200 Subject: [PATCH] .github: Update package updates action Create a PR as a draft. Update the body to use a template that I usually use for package updates PRs. With these changes, stop counting the updated packages, as we don't use this info any more. --- .../workflows/update-packages-from-list.yml | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/sdk_container/src/third_party/portage-stable/.github/workflows/update-packages-from-list.yml b/sdk_container/src/third_party/portage-stable/.github/workflows/update-packages-from-list.yml index e5fd2903a1..d5472098a2 100644 --- a/sdk_container/src/third_party/portage-stable/.github/workflows/update-packages-from-list.yml +++ b/sdk_container/src/third_party/portage-stable/.github/workflows/update-packages-from-list.yml @@ -58,14 +58,11 @@ jobs: cd .. new_head=$(git -C portage-stable rev-parse HEAD) updated=0 - count=0 if [[ "${new_head}" != "${old_head}" ]]; then updated=1 - count=$(git -C portage-stable rev-list --count "${old_head}..${new_head}") fi todaydate=$(date +%Y-%m-%d) echo "UPDATED=${updated}" >>"${GITHUB_OUTPUT}" - echo "COUNT=${count}" >>"${GITHUB_OUTPUT}" echo "TODAYDATE=${todaydate}" >>"${GITHUB_OUTPUT}" - name: Create pull request for main branch uses: peter-evans/create-pull-request@v4 @@ -77,5 +74,18 @@ jobs: delete-branch: true base: main title: Weekly package updates ${{steps.update-listed-packages.outputs.TODAYDATE }} - body: Updated ${{steps.update-listed-packages.outputs.COUNT }} package(s). + body: | + CI: TODO + + Should be merged together with COREOS_OVERLAY_PR. + + -- + + TODO: Changes. + + -- + + - [ ] changelog + - [ ] image diff labels: main + draft: true