Just upgraded to the lastest CLI for actions-lock and got a "automatically migrated "./" to "$/", but my workflow has a checkout step that provides a ref as input. This changes the behavior of the job...
- uses: actions/checkout@v7.0.1
with:
# BELOW IS THE OFFENDING LINE
ref: ${{ inputs.ref || github.ref }}[4:02 PM] - id: query
name: Query next patch version
continue-on-error: true
uses: $/
with:
operation: query-version
auth-type: ${{ matrix.auth-type }}
token: ${{ matrix.auth-type == 'pat' && steps.azure-devops-token.outputs.token || '' }}
publisher-id: ${{ env.PUBLISHER_ID }}
extension-id: ${{ env.EXTENSION_ID }}
version-source: |
manifest
marketplace
1.0.0
marketplace-version-action: Patch
This workflow is explicitly testing the version at that ref, while the workfow is called from main...
As far as I can tell I can't run a job at a specific ref other than the one the workflow was called from...
I may have to redesign the workflow to trigger a new workflow and wait for the result instead of using workflow_call. I haven't figured out yet how to make this behave exactly as you'd expect.
Just upgraded to the lastest CLI for actions-lock and got a "automatically migrated "./" to "$/", but my workflow has a checkout step that provides a ref as input. This changes the behavior of the job...
This workflow is explicitly testing the version at that ref, while the workfow is called from main...
As far as I can tell I can't run a job at a specific ref other than the one the workflow was called from...
I may have to redesign the workflow to trigger a new workflow and wait for the result instead of using workflow_call. I haven't figured out yet how to make this behave exactly as you'd expect.