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

Github action? #19

Open
gardar opened this issue Sep 20, 2024 · 4 comments
Open

Github action? #19

gardar opened this issue Sep 20, 2024 · 4 comments

Comments

@gardar
Copy link

gardar commented Sep 20, 2024

It would great if there was a ready made github action published which one could use to detect unused ansible variables in ansible collection/role repositories.

@hoo29
Copy link
Owner

hoo29 commented Sep 22, 2024

Sure - I can have a look at that sometime next week.

@hoo29
Copy link
Owner

hoo29 commented Sep 28, 2024

Added

name: little-timmy
on:
  push:
jobs:
  little-timmy:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - name: Run action
        uses: hoo29/little-timmy@v1-action

The available config is in the readme - let me know if it works for you!

edit - updated the action tag

@gardar
Copy link
Author

gardar commented Oct 2, 2024

Nice, it works great!
Just integrated it into the prometheus ansible collection workflow.

Now the only thing missing is the output format for github actions, like ansible-lint and it would be perfect 😄

@hoo29
Copy link
Owner

hoo29 commented Oct 2, 2024

I shall try to make it perfect later this week 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants