diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8af220f..4417606 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -30,8 +30,7 @@ jobs: - run: npm run build - run: npm test - uses: ./ - with: - github-token: ${{ secrets.GITHUB_TOKEN }} + with: path-to-profile: profile.cov parallel: true job-number: ${{ strategy.job-index }} @@ -52,5 +51,4 @@ jobs: - run: npm run build - uses: ./ with: - github-token: ${{ secrets.GITHUB_TOKEN }} parallel-finished: true diff --git a/action.yml b/action.yml index d7d2cc4..8f2c77a 100644 --- a/action.yml +++ b/action.yml @@ -5,6 +5,7 @@ inputs: github-token: description: Coveralls uses this token to verify the posted coverage data on the repo and create a new check based on the results. required: true + default: '${{ github.token }}' path-to-profile: description: a path to your cover profile. required: false