ci: fix brittle docs-theme publish workflow#2303
Conversation
Co-authored-by: barjin <61918049+barjin@users.noreply.github.com>
|
Preview for this PR was built for commit |
barjin
left a comment
There was a problem hiding this comment.
lgtm (mostly because I prompted this), now I need the second pair of eyes / approve
| - name: Bump the theme version | ||
| run: | | ||
| cd "$GITHUB_WORKSPACE/apify-docs-theme" | ||
| npm version patch --legacy-peer-deps |
There was a problem hiding this comment.
--legacy-peer-deps indeed doesn't seem to be necessary, tested locally.
|
|
||
| - name: Commit the new theme version | ||
| continue-on-error: true | ||
| uses: stefanzweifel/git-auto-commit-action@v7 |
There was a problem hiding this comment.
Could you please change this to https://github.com/EndBug/add-and-commit so that it's consistent with the rest of the workflows that we manage?
There was a problem hiding this comment.
Done in ac7ff11 - switched to EndBug/add-and-commit@v9 with the same author config as bump-openapi-version.yaml.
Co-authored-by: barjin <61918049+barjin@users.noreply.github.com>
| commit_author: Apify Bot <apify@apify.com> | ||
| add: 'apify-docs-theme/package*.json' | ||
| author_name: github-actions[bot] | ||
| author_email: 41898282+github-actions[bot]@users.noreply.github.com |
There was a problem hiding this comment.
this is curious, but we apparently have this in bump-openapi-version.yaml already, so at least we're consistent
|
Preview for this PR was built for commit |
concurrencygroup to queue concurrent workflow runspackage.jsoncontinue-on-error: true)stefanzweifel/git-auto-commit-actionwithEndBug/add-and-commit@v9for consistency with other workflowsOriginal prompt
apify-docs-themeCI publish is brittle #2302💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.
Note
Cursor Bugbot is generating a summary for commit 9bc28e7. Configure here.