We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1127879 commit 5f9e801Copy full SHA for 5f9e801
.github/workflows/build-pr.yml
@@ -2,15 +2,12 @@
2
name: Build
3
4
on:
5
- pull_request_target:
+ pull_request:
6
7
jobs:
8
build:
9
runs-on: ubuntu-latest
10
11
- environment:
12
- name: build-pr
13
-
14
strategy:
15
matrix:
16
node-version: ['20.17.0']
@@ -20,7 +17,6 @@ jobs:
20
17
- uses: actions/checkout@v4
21
18
with:
22
19
fetch-depth: 0
23
- ref: ${{ github.event.pull_request.head.sha }}
24
25
- name: Use Node.js ${{ matrix.node-version }}
26
uses: actions/setup-node@v4
@@ -64,9 +60,6 @@ jobs:
64
60
65
61
- name: SonarQube Analysis (Pull Request)
66
62
uses: SonarSource/sonarqube-scan-action@v6
67
- env:
68
- SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
69
- SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
70
63
71
args: >
72
-Dsonar.projectVersion=${{ steps.get_version.outputs.tag }}
0 commit comments