-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Lately, we had frequent updates on the PTB GitHub workflow action python-environment/action.yml
.
Let's celebrate that only a single place needed to be updated: the PTB -- which is a great achievement in my eyes.
However, each new release of the PTB requires each of our projects using the PTB to update the version in ~ 20 references to the PTB action. In ~ 20 projects, these are 400 lines of code.
Additionally, references in custom workflows (contained in some projects) need to be updated manually, as the PTB only updates the workflows that are generated by itself.
Proposal
How about adding a local (unversioned) action.yml
to each project in order to reduce these updates?
The PTB could still generate and update the project's action.yml
with the command tbx worflow update
. Alternatively the project's action.yml
could itself contain a reference to the latest version of the PTB's action, in this case only a single file needs to be updated.