-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: use new creds for roxbot (#143)
* chore: use new creds for roxbot * Also add token in release flow
- Loading branch information
Showing
2 changed files
with
6 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -42,8 +42,8 @@ jobs: | |
- uses: chainguard-dev/actions/setup-gitsign@main | ||
- name: Commit Dist | ||
run: | | ||
git config --global user.email "[email protected]" | ||
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 "[email protected]" | ||
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 |