-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: handle undefined DRY_RUN (#140)
Source-Version: 9cabb0ced6ebb12c69991cac853d70ff361a84be
- Loading branch information
Showing
3 changed files
with
7 additions
and
7 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 |
---|---|---|
|
@@ -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 '[email protected]' | ||
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!" | ||
|
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
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 |
---|---|---|
@@ -1 +1 @@ | ||
./4.4.1/ | ||
./3.0.50.1/ |