From a7929481a4e2962a7c06d2b70fe6b69dbb2835e2 Mon Sep 17 00:00:00 2001 From: Sergey Nebolsin Date: Mon, 25 Sep 2023 14:39:49 +0300 Subject: [PATCH] fix: use implicit GITHUB_TOKEN on Github Actions --- .github/workflows/coveralls-standalone.yml | 2 +- .github/workflows/coveralls.yml | 6 ------ .github/workflows/test.yml | 8 ++------ 3 files changed, 3 insertions(+), 13 deletions(-) diff --git a/.github/workflows/coveralls-standalone.yml b/.github/workflows/coveralls-standalone.yml index b0198f1..25bc9e6 100644 --- a/.github/workflows/coveralls-standalone.yml +++ b/.github/workflows/coveralls-standalone.yml @@ -10,7 +10,7 @@ jobs: report: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Wait on tests (PR) uses: lewagon/wait-on-check-action@v1.3.1 diff --git a/.github/workflows/coveralls.yml b/.github/workflows/coveralls.yml index 26b6458..2c4a136 100644 --- a/.github/workflows/coveralls.yml +++ b/.github/workflows/coveralls.yml @@ -5,22 +5,16 @@ on: [ push, pull_request ] jobs: test-linux: uses: ./.github/workflows/test.yml - secrets: - token: ${{ secrets.COVERALLS_REPO_TOKEN }} test-macos: uses: ./.github/workflows/test.yml with: os: macos - secrets: - token: ${{ secrets.COVERALLS_REPO_TOKEN }} test-windows: uses: ./.github/workflows/test.yml with: os: windows - secrets: - token: ${{ secrets.COVERALLS_REPO_TOKEN }} coveralls: runs-on: ubuntu-latest diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cc9f336..6e8e733 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -23,14 +23,10 @@ on: type: boolean default: true description: | - Whether to store the coverage data as an artifact. - secrets: - token: - required: true + Whether to store the coverage data as an artifact. env: COVERALLS_SERVICE_NUMBER: ${{ inputs.build_id }} - COVERALLS_REPO_TOKEN: ${{ secrets.token }} jobs: test: @@ -42,7 +38,7 @@ jobs: build_id: ${{ inputs.build_id }} result: ${{ steps.coveralls.outputs.coveralls-api-result}} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-node@v3 with: node-version: lts/*