fix: extract 1 unsafe expression(s) to env vars

Automated security fixes applied by Runner Guard (https://github.com/Vigilant-LLC/runner-guard).

Changes:
 .github/workflows/close-incorrect-issue.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
pull/7210/head
Chris Nyhuis 2 weeks ago
parent 50c522f1ff
commit 2ce7e849a4

@ -26,6 +26,7 @@ jobs:
node-version: ${{ matrix.node-version }}
- run: npm ci
- name: Close incorrect issue
run: node extra/close-incorrect-issue.js ${{ secrets.GITHUB_TOKEN }} ${{ github.event.issue.number }} "$ISSUE_USER_LOGIN"
run: node extra/close-incorrect-issue.js ${GITHUB_TOKEN} ${{ github.event.issue.number }} "$ISSUE_USER_LOGIN"
env:
ISSUE_USER_LOGIN: ${{ github.event.issue.user.login }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Loading…
Cancel
Save