-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(maint) Prevent workflow from failing on no-op (#25533)
* (maint) Prevent workflow from failing on no change * Update print statements * echo new version to test
- Loading branch information
1 parent
6181ecc
commit cad442f
Showing
2 changed files
with
23 additions
and
3 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,13 +22,18 @@ jobs: | |
- run: pip install requests semver defusedxml | ||
|
||
- name: Find latest synthetic-worker version | ||
id: write-synthetics-worker-version | ||
run: | | ||
python local/bin/py/version_getter.py | ||
- name: echo new version | ||
run: echo ${{ steps.write-synthetics-worker-version.outputs.new_version }} | ||
|
||
- uses: actions/checkout@v4 | ||
with: | ||
persist-credentials: false | ||
- name: Write version | ||
if: steps.write-synthetics-worker-version.outputs.new_version == 'true' | ||
run: |- | ||
git config user.name documentation-ci | ||
git config user.email [email protected] | ||
|
@@ -38,6 +43,7 @@ jobs: | |
- uses: actions/github-script@v7 | ||
name: Propose change with latest versions | ||
if: steps.write-synthetics-worker-version.outputs.new_version == 'true' | ||
with: | ||
github-token: ${{secrets.GITHUB_TOKEN}} | ||
result-encoding: string | ||
|
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