googleapis / googleapis/release-please

Update yaml file with major tag as vX

Open
#2,539 0 comments 0 reactions 1 assignee Claimed by @chingor13 View on GitHub
priority: p3 type: question
Dominant language
TypeScript
Stars
7.5k
Forks
588
Avg merge
12h 16m
Merged PRs (30d)
7

Description

Hi, i try to update a github workflows files that include a reference of a global tag
example:

- uses: my-action-ref@v2

We try the generic updater with this configuration:

{
"type": "generic",
"path": ".github/workflows/deploy.yaml",
}
with the ref in workflow looking like

- uses: my-action-ref@v2 # x-release-please-major

I try to this one

{
"type": "yaml",
"path": ".github/workflows/deploy.yaml",
"jsonpath": "jsonpath": "$..steps[?(@.uses && @.uses.match('.*my-key.*'))].uses"
}
with the ref in workflow looking like

- uses: my-action-ref@v2 # x-release-please-major

I dont have any errors, it just like it can't find the tag to update i certainly did something wrong but dunno what.

Thanks

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.