Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
with:
token: ${{ secrets.PAT }}
token: ${{ secrets.RHACS_BOT_GITHUB_TOKEN }}
ref: ${{ github.ref_name }}

- name: Setup Node.js 20.x
Expand All @@ -42,8 +42,8 @@ jobs:
- uses: chainguard-dev/actions/setup-gitsign@main
- name: Commit Dist
run: |
git config --global user.email "roxbot@stackrox.com"
git config --global user.name "Robot Rox"
git config --global user.email ${{ secrets.RHACS_BOT_GITHUB_EMAIL }}
git config --global user.name ${{ secrets.RHACS_BOT_GITHUB_USERNAME }}
git add dist
git commit -m "chore: Update dist" || echo "No changes to commit."
git push origin
5 changes: 3 additions & 2 deletions .github/workflows/update-main-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,15 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Required since we need to ensure all tags are contained within the checkout.
token: ${{ secrets.RHACS_BOT_GITHUB_TOKEN }}

- name: Setup GitSign
uses: chainguard-dev/actions/setup-gitsign@main

- name: Move main version tag
run: |
git config --global user.email "roxbot@stackrox.com"
git config --global user.name "Robot Rox"
git config --global user.email ${{ secrets.RHACS_BOT_GITHUB_EMAIL }}
git config --global user.name ${{ secrets.RHACS_BOT_GITHUB_USERNAME }}
# Move the main version tag to the target tag.
git tag -s -f ${{ github.event.inputs.main_version }} ${{ github.event.inputs.target }}
git push origin ${{ github.event.inputs.main_version }} --force --tags