Skip to content
This repository was archived by the owner on Apr 11, 2023. It is now read-only.

Commit

Permalink
ci: add interim env var to avoid injection (#83)
Browse files Browse the repository at this point in the history
* ci: add interim env var to avoid injection

* Update .github/workflows/pr.yml

Co-authored-by: Reid Rankin <[email protected]>

Co-authored-by: Reid Rankin <[email protected]>
  • Loading branch information
0xdef1cafe and mrnerdhair authored Sep 29, 2021
1 parent 1970f83 commit 3f23938
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ jobs:
run: yarn install --frozen-lockfile
# needs to run after install
- name: Commitlint PR title
run: echo '${{ github.event.pull_request.title }}' | npx commitlint
env:
TITLE: ${{ github.event.pull_request.title }}
run: printf '%s' "$TITLE" | npx commitlint
- name: Build
run: yarn build
- name: Lint
Expand Down

0 comments on commit 3f23938

Please sign in to comment.