diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a32fa2abea..b68c5c407f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -6,25 +6,19 @@ on: - "main" - "rc" - "hotfix-rc" - pull_request_target: + pull_request: types: [opened, synchronize] merge_group: type: [checks_requested] workflow_dispatch: env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} JAVA_VERSION: 17 jobs: - check-run: - name: Check PR run - uses: bitwarden/gh-actions/.github/workflows/check-run.yml@main - test: name: Test runs-on: ubuntu-24.04 - needs: check-run permissions: contents: read issues: write @@ -34,8 +28,6 @@ jobs: steps: - name: Check out repo uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - with: - ref: ${{ github.event.pull_request.head.sha }} - name: Validate Gradle wrapper uses: gradle/actions/wrapper-validation@cc4fc85e6b35bafd578d5ffbc76a5518407e1af0 # v4.2.1 @@ -90,6 +82,4 @@ jobs: - name: Upload to codecov.io uses: codecov/codecov-action@7f8b4b4bde536c465e797be725718b88c5d95e0e # v5.1.1 with: - file: app/build/reports/kover/reportStandardDebug.xml - env: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + files: app/build/reports/kover/reportStandardDebug.xml