Skip to content

Autoconfiguration #4

@slavaGanzin

Description

@slavaGanzin

Hello Dhruv. Thanks for act3!

I was a bit surprised, that you need to create a configuration to use act3. What I was expecting is that it will read pwd/.github/workflows and show stats for all CI files per project.

Your approach makes perfect sense. But it would be beneficial to combine both. If you launch act3 in a folder that contains CI files that are not listed in configuration, act3 could ask do you want to add new files to config.

$ cd /my/new/project
$ act3
Do you want to add "Build and release" workflow for slava/project to act3? (Y/n)
Y
- id: W_kwDOLkC0eM4FaKV_
  repo: slava/project
  name: build_and_release
# Added to ~/.config/act3/act3.yml

Kinda like that. What do you think?

p.s. Can I put ACT3 GH access token in config as well?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions