|
1 |
| -name: PR's |
| 1 | +name: PRs |
2 | 2 | on:
|
3 | 3 | pull_request:
|
4 | 4 | types: [opened, synchronize, reopened]
|
|
10 | 10 | pr-test:
|
11 | 11 | uses: ./.github/workflows/basic-test.yml
|
12 | 12 |
|
13 |
| - pr-e2e-test: |
14 |
| - uses: ./.github/workflows/e2e-test.yml |
| 13 | + # pr-e2e-test: # TODO Uncomment when SONAR for contributors PR is ready to tests |
| 14 | + # uses: ./.github/workflows/e2e-test.yml |
15 | 15 |
|
16 | 16 | check-commit-lint:
|
17 | 17 | name: Check commit message follows guidelines
|
|
21 | 21 | - uses: ./.github/actions/setup
|
22 | 22 |
|
23 | 23 | - name: Execute commitlint
|
24 |
| - run: npx commitlint --from=origin/${{ github.base_ref }} |
| 24 | + run: npx commitlint --from="origin/$BASE_REF" |
| 25 | + env: |
| 26 | + BASE_REF: ${{ github.base_ref }} |
25 | 27 |
|
26 | 28 | check-file-format:
|
27 | 29 | name: Check files changes follow guidelines
|
|
33 | 35 | - name: Check if Prettier was run
|
34 | 36 | run: npx pretty-quick --check
|
35 | 37 |
|
36 |
| - backwards-compatibility-test: |
37 |
| - needs: [pr-test] |
38 |
| - uses: ./.github/workflows/backwards-compatibility-test.yml |
39 |
| - |
40 |
| - pr-analysis: |
41 |
| - name: SonarCloud Pr Analysis |
42 |
| - runs-on: ubuntu-latest |
43 |
| - needs: pr-test |
44 |
| - steps: |
45 |
| - - uses: actions/checkout@v4 |
46 |
| - with: |
47 |
| - fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis |
48 |
| - |
49 |
| - # Download reports |
50 |
| - - uses: ./.github/actions/download-coverage-report |
51 |
| - - uses: ./.github/actions/download-lint-report |
52 |
| - |
53 |
| - - name: SonarCloud Scan |
54 |
| - uses: SonarSource/sonarcloud-github-action@master |
55 |
| - env: |
56 |
| - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any |
57 |
| - SONAR_TOKEN: ${{ secrets.SONARQUBE_SCANNER }} |
58 |
| - with: |
59 |
| - args: > |
60 |
| - -Dsonar.pullrequest.key=${{ github.env.PR_NUMBER }} |
| 38 | + # backwards-compatibility-test: # TODO Uncomment when SONAR for contributors PR is ready to tests |
| 39 | + # needs: [pr-test] |
| 40 | + # uses: ./.github/workflows/backwards-compatibility-test.yml |
0 commit comments