Run GitHub Action with Conditions #25421
-
I have a Repo, where people can upload their scripts, in which they solve a particular problem using more than one language. The Scripts are segregated according to Languages. i.e. there are folders I want to make a PyLint Action, so ta when someone starts a PR, the action tells me their PyLint score and I can decide whether to merge or not. I want this action to be triggered only when someone Starts a PR and the commits have Can someone guide m please. in
This is not solving the issue. Complete Workflow
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You could use an action like You can then gather added or updated files for other steps, such as:
Here’s a workflow that does link checks in added/changed markdown files that you could use as a model for your ointing requirements: https://github.com/OWASP/wstg/blob/559a2794ae26adaf9dc7187b3ae60ab161e1ca17/.github/workflows/md-link-check.yml |
Beta Was this translation helpful? Give feedback.
You could use an action like
futuratrepadeira/changed-files
to get the changed files.You can then gather added or updated files for other steps, such as:
Here’s a workflow that does link checks in added/changed markdown files that you could use as a model for your ointing requirements: https://github.com/OWASP/wstg/blob/559a2794ae26adaf9dc7187b3ae60ab161e1ca17/.github/workflows/md-link-check.yml