diff --git a/.github/workflows/update-pinned-libs.yml b/.github/workflows/update-pinned-libs.yml index 58c8461e..53e6628e 100644 --- a/.github/workflows/update-pinned-libs.yml +++ b/.github/workflows/update-pinned-libs.yml @@ -81,30 +81,44 @@ jobs: fi echo "Updated ISTIO_VERSION to ${LATEST}" + - name: Create and push branch with updates + if: steps.compare-istio.outputs.needs_update == 'true' + run: | + BRANCH_NAME="update-pinned-libs-$(date +%Y%m%d)" + git config user.name "github-actions[bot]" + git config user.email "github-actions[bot]@users.noreply.github.com" + git checkout -b "$BRANCH_NAME" + git add linux/base.Dockerfile + git commit -m "Upkeep: Update pinned library versions" + git push origin "$BRANCH_NAME" + echo "branch=$BRANCH_NAME" >> $GITHUB_OUTPUT + id: push-branch + - name: Create Pull Request if: steps.compare-istio.outputs.needs_update == 'true' - uses: peter-evans/create-pull-request@v6 - with: - token: ${{ secrets.GITHUB_TOKEN }} - commit-message: "chore: update pinned library versions" - title: "chore: update pinned library versions" - body: | - ## Automated Library Version Updates - - This PR updates the following pinned library versions: - - ${{ steps.compare-istio.outputs.needs_update == 'true' && format('- **Istio**: `{0}` → `{1}`', steps.current-istio.outputs.version, steps.latest-istio.outputs.version) || '' }} - - ### Changes - - Updated version variables in [linux/base.Dockerfile](linux/base.Dockerfile) - - ### Release Notes - ${{ steps.compare-istio.outputs.needs_update == 'true' && format('- [Istio {0}](https://github.com/istio/istio/releases/tag/{0})', steps.latest-istio.outputs.version) || '' }} - - --- - *This PR was automatically created by the Update Pinned Library Versions workflow.* - branch: update-pinned-libs-${{ github.run_number }} - delete-branch: true - labels: | - dependencies - automated + env: + GH_TOKEN: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} + run: | + CURRENT_VERSION="${{ steps.current-istio.outputs.version }}" + LATEST_VERSION="${{ steps.latest-istio.outputs.version }}" + BRANCH_NAME="${{ steps.push-branch.outputs.branch }}" + + gh pr create \ + --title "chore: update pinned library versions" \ + --body "## Automated Library Version Updates + + This PR updates the following pinned library versions: + + - **Istio**: ${CURRENT_VERSION} to ${LATEST_VERSION} + + ### Changes + - Updated version variables in linux/base.Dockerfile + + ### Release Notes + - Istio ${LATEST_VERSION}: https://github.com/istio/istio/releases/tag/${LATEST_VERSION} + + --- + This PR was automatically created by the Update Pinned Library Versions workflow." \ + --base master \ + --head "${BRANCH_NAME}" \ + --label "version_upgrade,automated_pr" diff --git a/tests/command_list b/tests/command_list index 3e6fea09..0548f519 100644 --- a/tests/command_list +++ b/tests/command_list @@ -35,7 +35,6 @@ applygnupgdefaults apropos ar arch -aria_s3_copy arp arpaname arping @@ -766,34 +765,14 @@ mapfile mariadb mariadb-access mariadb-admin -mariadb-backup mariadb-binlog mariadb-check -mariadb-client-test -mariadb-client-test-embedded -mariadb-conv -mariadb-convert-table-format -mariadbd-multi -mariadbd-safe -mariadbd-safe-helper mariadb-dump -mariadb-dumpslow -mariadb-embedded mariadb-find-rows -mariadb-fix-extensions -mariadb-hotcopy mariadb-import -mariadb-install-db -mariadb-ldb mariadb-plugin -mariadb-secure-installation -mariadb-setpermission mariadb-show mariadb-slap -mariadb-test -mariadb-test-embedded -mariadb-tzinfo-to-sql -mariadb-upgrade mariadb-waitpid matchpathcon mcookie @@ -850,30 +829,18 @@ mv mvn mvnDebug mvnyjp -myrocks_hotbackup mysql mysqlaccess mysqladmin mysqlbinlog mysqlcheck -mysql_client_test -mysql_client_test_embedded -mysql_convert_table_format mysqldump -mysql_embedded mysql_find_rows -mysql_fix_extensions mysqlimport -mysql_ldb mysql_plugin -mysql_setpermission mysqlshow mysqlslap -mysqltest -mysqltest_embedded -mysql_upgrade mysql_waitpid -mytop named-checkzone named-compilezone named-nzd2nzf @@ -944,7 +911,6 @@ peekfd perl perl5.38.2 perldoc -perror pfbtops pg_amcheck pg_archivecleanup @@ -1199,7 +1165,6 @@ ssh-agent ssh-copy-id ssh-keygen ssh-keyscan -sst_dump start-puppet-agent stat stdbuf