Skip to content

Commit c509ce1

Browse files
authored
Inherit secrets to fix CODECOV_TOKEN not present in sub actions (#2628)
1 parent 69b4c60 commit c509ce1

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/tests.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,42 +19,49 @@ jobs:
1919
engine: cruby-jruby
2020
min_version: 2.7
2121
versions: '["jruby-9.4.12.0"]'
22+
secrets: inherit
2223

2324
delayed_job-tests:
2425
needs: ruby-versions
2526
uses: ./.github/workflows/sentry_delayed_job_test.yml
2627
with:
2728
versions: ${{ needs.ruby-versions.outputs.versions }}
29+
secrets: inherit
2830

2931
opentelemetry-tests:
3032
needs: ruby-versions
3133
uses: ./.github/workflows/sentry_opentelemetry_test.yml
3234
with:
3335
versions: ${{ needs.ruby-versions.outputs.versions }}
36+
secrets: inherit
3437

3538
rails-tests:
3639
needs: ruby-versions
3740
uses: ./.github/workflows/sentry_rails_test.yml
3841
with:
3942
versions: ${{ needs.ruby-versions.outputs.versions }}
43+
secrets: inherit
4044

4145
resque-tests:
4246
needs: ruby-versions
4347
uses: ./.github/workflows/sentry_resque_test.yml
4448
with:
4549
versions: ${{ needs.ruby-versions.outputs.versions }}
50+
secrets: inherit
4651

4752
ruby-tests:
4853
needs: ruby-versions
4954
uses: ./.github/workflows/sentry_ruby_test.yml
5055
with:
5156
versions: ${{ needs.ruby-versions.outputs.versions }}
57+
secrets: inherit
5258

5359
sidekiq-tests:
5460
needs: ruby-versions
5561
uses: ./.github/workflows/sentry_sidekiq_test.yml
5662
with:
5763
versions: ${{ needs.ruby-versions.outputs.versions }}
64+
secrets: inherit
5865

5966
codecov:
6067
name: CodeCov

0 commit comments

Comments
 (0)