From 2a51d1e1daa45690a26741457eaffcae1c23c6ef Mon Sep 17 00:00:00 2001 From: rhacs-bot Date: Mon, 13 May 2024 20:39:48 +0000 Subject: [PATCH] fix: handle undefined DRY_RUN (#140) Source-Version: 9cabb0ced6ebb12c69991cac853d70ff361a84be --- .github/workflows/update-readme.yml | 8 ++++---- README.md | 4 ++-- latest | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/update-readme.yml b/.github/workflows/update-readme.yml index c51b3ab..2a937de 100644 --- a/.github/workflows/update-readme.yml +++ b/.github/workflows/update-readme.yml @@ -8,7 +8,7 @@ jobs: README_UPDATE: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v4 with: ref: ${{ github.head_ref }} - name: Updating README @@ -27,9 +27,9 @@ jobs: git push origin HEAD:master else echo "Updated README and latest symlink" - git config --global user.name 'roxbot' - git config --global user.email 'roxbot@users.noreply.github.com' - git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/"$GITHUB_REPOSITORY" + git config --global user.name '${{ vars.RHACS_BOT_GITHUB_USERNAME }}' + git config --global user.email '${{ vars.RHACS_BOT_GITHUB_EMAIL }}' + git remote set-url origin https://x-access-token:${{ secrets.RHACS_BOT_GITHUB_TOKEN }}@github.com/"$GITHUB_REPOSITORY" msg="Updated latest version reference to ${LATEST_VERSION}" if grep -q "$msg" < <(git log -n 1 --pretty='format:%s'); then echo "Latest version update already exists, but still changes detected!" diff --git a/README.md b/README.md index b5bf5dd..a9edc35 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![Latest version: 4.4.1](https://img.shields.io/badge/Latest%20version-4.4.1-green.svg)][Latest version] +[![Latest version: 3.0.55.0](https://img.shields.io/badge/Latest%20version-3.0.55.0-green.svg)][Latest version] # Helm charts for the StackRox Kubernetes Security Platform @@ -55,4 +55,4 @@ Helm charts for the [StackRox Kubernetes Security Platform](https://www.stackrox licensed under [Apache License 2.0](./LICENSE). -[Latest version]: ./4.4.1/ +[Latest version]: ./3.0.55.0/ diff --git a/latest b/latest index 0129ec9..8a44bb6 120000 --- a/latest +++ b/latest @@ -1 +1 @@ -./4.4.1/ \ No newline at end of file +./3.0.50.1/ \ No newline at end of file