From 52970dc69154b3234d7b20bdd1980c4f3f5a7148 Mon Sep 17 00:00:00 2001 From: rhacs-bot Date: Wed, 8 May 2024 17:43:08 +0000 Subject: [PATCH] test: use branch Source-Version: d9ae0ae8b4123120f25d32cd83a6dcac30d8a1d4 --- .github/workflows/update-readme.yml | 12 ++++++------ README.md | 5 ++--- latest | 2 +- 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/.github/workflows/update-readme.yml b/.github/workflows/update-readme.yml index 893c8ca..86caf5a 100644 --- a/.github/workflows/update-readme.yml +++ b/.github/workflows/update-readme.yml @@ -2,13 +2,13 @@ name: Update repository's main README file on: push: - branches: [main] + branches: [main, gavin/ROX-21045/switch-bot] jobs: README_UPDATE: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v4 with: ref: ${{ github.head_ref }} - name: Updating README @@ -24,10 +24,10 @@ jobs: if git diff --quiet HEAD; then echo "No updates." # Keep master in sync with main - git push origin HEAD:master + git push origin HEAD:gavin/ROX-21045/switch-bot else echo "Updated README and latest symlink" - git config --global user.name '${{ vars.RHACS_BOT_GITHUB_TOKEN }}' + 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}" @@ -37,8 +37,8 @@ jobs: exit 1 fi git commit -am "$msg 🤖" - git push origin HEAD:main + git push origin HEAD:gavin/ROX-21045/switch-bot # Keep master in sync with main - git push origin HEAD:master + git push origin HEAD:gavin/ROX-21045/switch-bot fi echo "✓ Done" diff --git a/README.md b/README.md index a188d4e..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,5 +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