ansys / ansys/actions

Use click for ``check_vulnerabilities`` script parameters

Open
#956 1 comment 2 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
19
Forks
7
Avg merge
2d 4h
Merged PRs (30d)
50

Description

### 📝 Description of the feature

To use the ``check_vulnerabilities`` script, ``PACKAGE`` and ``REPOSITORY`` parameters need to be added as environment parameters.

Assigning their values through click parameters could simplify its usage.

### 💡 Steps for implementing the feature

Add click parameters in ``main()`` method.

### 🔗 Useful links and references

/

Contributor guide

Open the contributing guide

Research direction

Start at the check_vulnerabilities script and its main() method, which the issue identifies as the implementation entry point. Check how PACKAGE and REPOSITORY are currently read, then confirm the script can receive both values as click parameters and no longer requires them as environment parameters.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, python
Domain
ci-cd
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.