ossf / scorecard-monitor

Simplify OpenSSF Scorecard tracking in your organization with automated markdown and JSON reports, plus optional GitHub issue alerts
https://github.com/marketplace/actions/openssf-scorecard-monitor
Apache License 2.0
32 stars 13 forks source link

Add launch configuration for VSCode #48

Closed rajbos closed 1 year ago

rajbos commented 1 year ago

Makes local testing a bit easier 🤗 .

UlisesGascon commented 1 year ago

I forgot to include the .vscode/ in the gitignore 🤦

I will prefer to ignore non-project related settings because it can be tricky at long term and not all the mainters/users will follow the same approach. For example I use a cool plugin to color out each VS Code instance based in the my preferences but is very different than other colleagues but I don't include it in to the project as it can be annoying for others. Also it will create some additional issues/PRs to maintain it over the time

UlisesGascon commented 1 year ago

With the changes in #50 you can keep the files working in local 👍

rajbos commented 1 year ago

Hmm, the user settings are in a different json file (settings.json). My PR was to add at least a configuration so that new contributors have an easier way to run the action locally, so they can debug. I can even imagine adding recommended extensions to the extensions.json file, but that would be it. We could level up the reading of the input variables, so that those are stored in an .env file, then there would be no user specific configuration in the launch.json