Skip to content

Commit 6ff5180

Browse files
committed
Fixes linting errors
1 parent ca706e6 commit 6ff5180

File tree

5 files changed

+10
-1
lines changed

5 files changed

+10
-1
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ jobs:
1616
steps:
1717
- name: Checkout Repository
1818
uses: actions/checkout@v4
19+
with:
20+
persist-credentials: false
1921
- name: Setup Node.js
2022
uses: actions/setup-node@v4
2123
with:

.github/workflows/check-changes-to-env.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Get PR Number
1717
id: get-pr-number
1818
run: |
19-
PR_NUMBER=$(echo "${{ github.ref }}" | awk 'BEGIN { FS = "/" } ; { print $3 }')
19+
PR_NUMBER=$(echo "${GITHUB_REF}" | awk 'BEGIN { FS = "/" } ; { print $3 }')
2020
echo "pr-number=${PR_NUMBER}" >> $GITHUB_OUTPUT
2121
- name: Comment when dummy.txt changes
2222
uses: actions/github-script@v7

.github/workflows/lint.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@ jobs:
1414
name: Lint
1515
runs-on: ubuntu-latest
1616
steps:
17+
- name: Checkout Repository
1718
- uses: actions/checkout@v4
19+
with:
20+
persist-credentials: false
1821
- name: Install modules
1922
run: npm install
2023
- name: Run ESLint

.github/workflows/run-unit-tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ jobs:
1616
steps:
1717
- name: Checkout Repository
1818
uses: actions/checkout@v4
19+
with:
20+
persist-credentials: false
1921
- name: Setup Node.js
2022
uses: actions/setup-node@v4
2123
with:

.github/workflows/test-sql-queries.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ jobs:
2828
steps:
2929
- name: Checkout repository
3030
uses: actions/checkout@v4
31+
with:
32+
persist-credentials: false
3133
- name: Wait for PostgreSQL to be ready
3234
run: |
3335
until pg_isready -h localhost -p 5432; do

0 commit comments

Comments
 (0)