Skip to content

Commit

Permalink
Update broken-link-checker.yml to avoid code injection vulnerability (#…
Browse files Browse the repository at this point in the history
…243)

* Update broken-link-checker.yml to avoid code injection vulnerability

Updated workflow to use environment variables to avoid code injection vulnerability.

* Update broken-link-checker.yml with correct package name
  • Loading branch information
Hotanya authored Sep 13, 2024
1 parent bd3417d commit 3a97440
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/broken-link-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,7 @@ jobs:
cache-dependency-path: 'yarn.lock'
node-version-file: '.nvmrc'
- run: yarn install
- run: yarn blc ${{ github.event.inputs.url }} --ro
- name: Check broken link
env:
url: ${{ github.event.inputs.url || 'https://es-hangul.slash.page' }}
run: yarn blc $url --ro

0 comments on commit 3a97440

Please sign in to comment.