File tree Expand file tree Collapse file tree 5 files changed +10
-1
lines changed Expand file tree Collapse file tree 5 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 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 :
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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 :
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments