In a repo that relies on ./ references for which I haven't figured out yet how to replace them, I run
azdo-marketplace gh actions-lock --rescan --no-migrate-local-actions
! LOCAL-ACTION .github\workflows\release-test-github-actions.yml
workflow uses local path actions which are not supported; remove local path actions to continue using the lockfile
✗ 1 of 13 workflows failed: 1 local-action
After the run the lock file is overwritten and for .github\workflows\release-test-github-actions.yml all action refs are removed:
- '.github/workflows/release-test-github-actions.yml':
- - 'actions/checkout@v7.0.1'
- - 'actions/setup-node@v7.0.0'
- - 'azure/login@v3.0.2'
+ '.github/workflows/release-test-github-actions.yml': []
And the workflow fails.
When I run without --no-migrate-local-actions the removed refs are restored:
'.github/workflows/release-test-github-actions.yml':
- 'actions/checkout@v7.0.1'
- 'actions/setup-node@v7.0.0'
- 'azure/login@v3.0.2'
And after manually replacing $/->./ the workflow runs again as expected.
In a repo that relies on
./references for which I haven't figured out yet how to replace them, I runAfter the run the lock file is overwritten and for
.github\workflows\release-test-github-actions.ymlall action refs are removed:And the workflow fails.
When I run without
--no-migrate-local-actionsthe removed refs are restored:And after manually replacing
$/->./the workflow runs again as expected.