Can't find commit when triggering on release publishSee original GitHub issue
When working on a pipeline that is triggered by a release publish:
on: release: types: [ published ]
I get the following error:
Unable to get commit from workflow event: trying with the GitHub API... Error: Request failed with status code 404 at createError (/home/runner/work/_actions/EndBug/add-and-commit/v4.4.0/lib/index.js:1:428) at settle (/home/runner/work/_actions/EndBug/add-and-commit/v4.4.0/lib/index.js:1:31578)
It seems like the latest changes have broken this functionality. I pinned the library to v4.3.0 and was able to run successfully.
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top GitHub Comments
Sorry, I haven’t had a chance to test it, and since it’s on production for something that’s rarely changed, I probably won’t have the opportunity for a while. Thanks for looking into it!
This issue is being marked as “stale” because it has been open 20 days with no activity. Remove the “stale” label or comment, otherwise this will be closed in 5 days.