Skip to content

Commit fce27a9

Browse files
committed
fix indents
1 parent 05826fd commit fce27a9

File tree

1 file changed

+23
-21
lines changed

1 file changed

+23
-21
lines changed

.github/workflows/test.yml

Lines changed: 23 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -8,26 +8,28 @@ on:
88
jobs:
99

1010
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 }}
2425

2526
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

Comments
 (0)