Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scan .github/workflows directory and updated outdated actions #143

Open
3 tasks done
SukkaW opened this issue Sep 15, 2024 · 4 comments
Open
3 tasks done

Scan .github/workflows directory and updated outdated actions #143

SukkaW opened this issue Sep 15, 2024 · 4 comments
Labels
enhancement New feature or request pr welcome

Comments

@SukkaW
Copy link
Contributor

SukkaW commented Sep 15, 2024

Clear and concise description of the problem

Use taze CLI to scan and update the version of outdated GitHub Actions.

Suggested solution

We could scan the .github/workflows dir (if exists) to find any .yaml and .yml files. We could then use GitHub API of sorts to grab all tags of the outdated action.

Alternative

No response

Additional context

No response

Validations

@SukkaW SukkaW added the enhancement New feature or request label Sep 15, 2024
@HigherOrderLogic
Copy link

I think this is out of scopes for taze and having a dedicated package for this function would be more appropriate.

Also, if you would like something more "modern", I would suggest using Renovate, which has this feature built-in and can be configured to run periodically against your repo and workflows.

@antfu
Copy link
Member

antfu commented Sep 16, 2024

I don't mind having it but it would require quite some work as the parsing and checking would have very different logic than NPM packages. I would count on the community to work on that. PR welcome.

@antfu
Copy link
Member

antfu commented Sep 16, 2024

something more "modern", I would suggest using Renovate

It's not about "modern" or not, this tool was created after Renovate already exists. People choose to not use Renovate for various reasons.

@SukkaW
Copy link
Contributor Author

SukkaW commented Sep 16, 2024

I would count on the community to work on that. PR welcome.

I have noticed a few prior arts about this:

We might be able to port this to the taze w/ TypeScript.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request pr welcome
Projects
None yet
Development

No branches or pull requests

3 participants