Skip to content

Commit d027c72

Browse files
committed
4.x: Fix Codecov upload from the protected 4.x branch
1 parent 3fafc4e commit d027c72

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

.github/workflows/gradle_branch.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,7 @@ jobs:
3535
run: ./gradlew build --stacktrace
3636
- name: Upload to Codecov
3737
uses: codecov/codecov-action@1af58845a975a7985b0beb0cbe6fbbb71a41dbad # v5.5.3
38+
with:
39+
token: ${{ secrets.CODECOV_TOKEN }}
3840
- name: Generate Javadoc
3941
run: ./gradlew javadoc --stacktrace

.github/workflows/gradle_release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ jobs:
4141
run: ./gradlew build --stacktrace --no-daemon
4242
- name: Upload to Codecov
4343
uses: codecov/codecov-action@1af58845a975a7985b0beb0cbe6fbbb71a41dbad # v5.5.3
44+
with:
45+
token: ${{ secrets.CODECOV_TOKEN }}
4446
release:
4547
needs: build
4648
runs-on: ubuntu-latest

.github/workflows/gradle_snapshot.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ jobs:
8484
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_PASSWORD }}
8585
- name: Upload to Codecov
8686
uses: codecov/codecov-action@1af58845a975a7985b0beb0cbe6fbbb71a41dbad # v5.5.3
87+
with:
88+
token: ${{ secrets.CODECOV_TOKEN }}
8789
- name: Push Javadoc
8890
run: ./push_javadoc.sh
8991
# Define secrets at https://github.com/ReactiveX/RxJava/settings/secrets/actions

0 commit comments

Comments
 (0)