Skip to content

Commit

Permalink
fix(repo): resolve security vulnerability (#260)
Browse files Browse the repository at this point in the history
* test

* fix(repo): resolve security vulnerability

* fix
  • Loading branch information
danadajian authored Sep 8, 2022
1 parent 7121f5b commit 92a011c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/check-pr-title.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ jobs:
uses: denoland/setup-deno@v1

- name: Validate PR Title Contains Valid Descriptor
run: deno run -A scripts/verify-pr-title-has-valid-descriptor.ts --title "${{ github.event.pull_request.title }}"
run: deno run -A scripts/verify-pr-title-has-valid-descriptor.ts
env:
TITLE: ${{ github.event.pull_request.title }}

- uses: ./
with:
Expand Down
3 changes: 1 addition & 2 deletions scripts/verify-pr-title-has-valid-descriptor.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { parse } from "https://deno.land/std/flags/mod.ts"
import getFiles from "https://deno.land/x/[email protected]/fs.ts";

const { title } = parse(Deno.args);
const title = Deno.env.get('TITLE');

const helpersPath = 'src/helpers/';
const helpers = getFiles({ root: '.', include: [helpersPath] })
Expand Down

0 comments on commit 92a011c

Please sign in to comment.