Skip to content

frizbee actions should update composite actions by default too #242

Open
@woodruffw

Description

@woodruffw

Describe the issue

Hi there!

I ran frizbee actions on a repository and, as expected, it modified all of my workflows to use hash-pinned references where possible. Awesome!

However, I also had a composite action definition (i.e. an action.yml) in the same directory, and frizbee actions did not modify my action's uses: clauses.

Expected behavior

I expected frizbee actions to rewrite both .github/workflows/*.ya?ml and **/action.yml.

Actual behavior

I had to explicitly run frizbee actions action.yml to get it to modify the composite action stored in the same repository.

To Reproduce

Create a repository containing both workflows and composite action definitions. Run frizbee actions, and observe that the former are updated while the latter are not.

What version are you using?

v0.1.7

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions