Skip to content

Commit f6bd467

Browse files
authored
[PM-16207] chore(ci): Fix codecov usage and remove secrets from test.yml (#4488)
1 parent 8548c74 commit f6bd467

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,19 @@ on:
66
- "main"
77
- "rc"
88
- "hotfix-rc"
9-
pull_request_target:
9+
pull_request:
1010
types: [opened, synchronize]
1111
merge_group:
1212
type: [checks_requested]
1313
workflow_dispatch:
1414

1515
env:
16-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1716
JAVA_VERSION: 17
1817

1918
jobs:
20-
check-run:
21-
name: Check PR run
22-
uses: bitwarden/gh-actions/.github/workflows/check-run.yml@main
23-
2419
test:
2520
name: Test
2621
runs-on: ubuntu-24.04
27-
needs: check-run
2822
permissions:
2923
contents: read
3024
issues: write
@@ -34,8 +28,6 @@ jobs:
3428
steps:
3529
- name: Check out repo
3630
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
37-
with:
38-
ref: ${{ github.event.pull_request.head.sha }}
3931

4032
- name: Validate Gradle wrapper
4133
uses: gradle/actions/wrapper-validation@cc4fc85e6b35bafd578d5ffbc76a5518407e1af0 # v4.2.1
@@ -90,6 +82,4 @@ jobs:
9082
- name: Upload to codecov.io
9183
uses: codecov/codecov-action@7f8b4b4bde536c465e797be725718b88c5d95e0e # v5.1.1
9284
with:
93-
file: app/build/reports/kover/reportStandardDebug.xml
94-
env:
95-
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
85+
files: app/build/reports/kover/reportStandardDebug.xml

0 commit comments

Comments
 (0)