Skip to content

Commit 67bedb1

Browse files
committed
fix inputs passing
1 parent ab69f9a commit 67bedb1

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,13 @@ jobs:
1414
steps:
1515
- uses: ./.github/workflows/run-tests.yml
1616
with:
17-
inputs:
18-
event_name: ${{ github.event_name }}
19-
pr: ${{ inputs.event.pull_request.number }}
20-
repo: ${{ github.event.pull_request.head.repo.full_name }}
21-
ref: ${{ github.event.pull_request.head.ref }}
22-
sha: ${{ github.event.pull_request.head.sha }}
23-
secrets:
24-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25-
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
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+
inherit
2624

2725
main-test:
2826
if: ${{ github.event_name == 'push' }}

0 commit comments

Comments
 (0)