silverstripe / github-actions-ci-cd

2 stars 2 forks source link

Pass string input variables and pull request title though env variables #23

Closed maxime-rainville closed 2 years ago

maxime-rainville commented 2 years ago

Use https://docs.github.com/en/actions/learn-github-actions/environment-variables for input strings so that bash variables $myvar can be used instead of string substitution ${{ input.myvar }} which is vulnerable in the similar way to sql injection

Acceptance critreria

Notes

@emteknetnz has already done the grunt work.

maxime-rainville commented 2 years ago

Added relevant AC to https://github.com/silverstripe/github-actions-ci-cd/issues/36