|
8 | 8 | jobs: |
9 | 9 |
|
10 | 10 | pr-test: |
11 | | - if: ${{ github.event_name == 'pull_request_target' }} |
12 | | - environment: e2e # request confirmation |
13 | | - uses: ./.github/workflows/run-tests.yml |
14 | | - with: |
15 | | - inputs: |
16 | | - event_name: ${{ github.event_name }} |
17 | | - pr: ${{ inputs.event.pull_request.number }} |
18 | | - repo: ${{ github.event.pull_request.head.repo.full_name }} |
19 | | - ref: ${{ github.event.pull_request.head.ref }} |
20 | | - sha: ${{ github.event.pull_request.head.sha }} |
21 | | - secrets: |
22 | | - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
23 | | - SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} |
| 11 | + steps: |
| 12 | + - if: ${{ github.event_name == 'pull_request_target' }} |
| 13 | + environment: e2e # request confirmation |
| 14 | + uses: ./.github/workflows/run-tests.yml |
| 15 | + with: |
| 16 | + inputs: |
| 17 | + event_name: ${{ github.event_name }} |
| 18 | + pr: ${{ inputs.event.pull_request.number }} |
| 19 | + repo: ${{ github.event.pull_request.head.repo.full_name }} |
| 20 | + ref: ${{ github.event.pull_request.head.ref }} |
| 21 | + sha: ${{ github.event.pull_request.head.sha }} |
| 22 | + secrets: |
| 23 | + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
| 24 | + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} |
24 | 25 |
|
25 | 26 | main-test: |
26 | | - if: ${{ github.event_name == 'push' }} |
27 | | - uses: ./.github/workflows/run-tests.yml |
28 | | - with: |
29 | | - inputs: |
30 | | - event_name: ${{ github.event_name }} |
31 | | - secrets: |
32 | | - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
33 | | - SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} |
| 27 | + steps: |
| 28 | + - if: ${{ github.event_name == 'push' }} |
| 29 | + uses: ./.github/workflows/run-tests.yml |
| 30 | + with: |
| 31 | + inputs: |
| 32 | + event_name: ${{ github.event_name }} |
| 33 | + secrets: |
| 34 | + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
| 35 | + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} |
0 commit comments