Skip to content

Commit c82789b

Browse files
Merge pull request #1460 from aligent/chore/template-injection-fix
chore: fix template injection vulnerability
2 parents 4f61b5d + 2d72511 commit c82789b

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
fetch-depth: 0
1414

1515
- name: Fetch target
16-
run: git fetch origin ${{ github.event.pull_request.base.ref }}
16+
run: git fetch origin ${{ env.PR_BASE_REF }}
1717

1818
- name: Enable Corepack
1919
run: corepack enable
@@ -29,4 +29,7 @@ jobs:
2929
- name: Build all packages
3030
run: yarn nx run-many -t build
3131

32-
- run: yarn nx affected:lint --base=origin/${{ github.event.pull_request.base.ref }} --parallel --max-parallel=3
32+
- run: yarn nx affected:lint --base=origin/${{ env.PR_BASE_REF }} --parallel --max-parallel=3
33+
34+
env:
35+
PR_BASE_REF: ${{ github.event.pull_request.base.ref }}

0 commit comments

Comments
 (0)