-
Notifications
You must be signed in to change notification settings - Fork 259
Closed
Labels
confirmedPrevent from becoming stalePrevent from becoming stalefeatureA new feature or a feature requestA new feature or a feature request
Description
Feature Request
Description
Currently, when defining version variables with the version_variables
configuration parameter, the versions in the specified files, have to be preceded by :
, =
or :=
.
See
r"\s*(:=|[:=])\s*", |
I would like to add the @
to the allowed separators, as it is used in gitHub actions ymls.
Use cases
I have a github repo (e.g. my-org/my-actions
) containing multiple actions:
my-actions/.github/workflows/
action1.yml
action2.yml
combined.yml
action1.yml
and action2.yml
are both called by combinded.yml
on:
workflow_call:
jobs:
action1:
uses: my-org/my-actions/.github/workflows/action1.yml@v1.2.3
action2:
uses: my-org/my-actions/.github/workflows/action2.yml@v1.2.3
Currently there is no way for PSR to update the two versions in the combined.yml
file.
Possible implementation
change line to r"\s*(:=@|[:=])\s*",
r"\s*(:=|[:=])\s*", |
Metadata
Metadata
Assignees
Labels
confirmedPrevent from becoming stalePrevent from becoming stalefeatureA new feature or a feature requestA new feature or a feature request