File tree Expand file tree Collapse file tree 5 files changed +13
-7
lines changed Expand file tree Collapse file tree 5 files changed +13
-7
lines changed Original file line number Diff line number Diff line change 1- # Code owners file.
2- # This file controls who is tagged for review for any given pull request.
1+ #
2+ # Learn about membership in OpenTelemetry community:
3+ # https://github.com/open-telemetry/community/blob/main/guides/contributor/membership.md
4+ #
35
4- # For anything not explicitly taken by someone else:
56* @ open-telemetry/java-approvers @ open-telemetry/java-instrumentation-maintainers
Original file line number Diff line number Diff line change 55 branches :
66 - main
77 - release/*
8+ workflow_dispatch :
89
910permissions :
1011 contents : read
1112
1213jobs :
1314 build-and-publish-snapshots :
1415 runs-on : ubuntu-latest
15- # skipping release branches because the versions in those branches are not snapshots
16- if : github.ref_name == 'main' && github.repository == 'open-telemetry/opentelemetry-proto-java'
1716 steps :
1817 - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
1918
2827
2928 - name : Build
3029 run : ./gradlew build
30+ env :
31+ DEVELOCITY_ACCESS_KEY : ${{ secrets.DEVELOCITY_ACCESS_KEY }}
3132
3233 - name : Publish snapshots
34+ # skipping release branches because the versions in those branches are not snapshots
35+ if : github.ref_name == 'main' && github.repository == 'open-telemetry/opentelemetry-proto-java'
3336 run : ./gradlew publishToSonatype
3437 env :
3538 SONATYPE_USER : ${{ secrets.SONATYPE_USER }}
Original file line number Diff line number Diff line change 1313 steps :
1414 - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
1515
16+ # this needs to be in its own workflow in order to make OSSF scorecard happy
1617 - uses : gradle/actions/wrapper-validation@4d9f0ba0025fe599b4ebab900eb7f3a1d93ef4c2 # v5.0.0
Original file line number Diff line number Diff line change 88 - cron : " 43 6 * * 5" # weekly at 06:43 (UTC) on Friday
99 workflow_dispatch :
1010
11- permissions : read-all
11+ permissions :
12+ contents : read
1213
1314jobs :
1415 analysis :
Original file line number Diff line number Diff line change 2020
2121 create-pull-request-against-release-branch :
2222 permissions :
23- contents : write # for Git to git push
23+ contents : write # for git push to PR branch
2424 runs-on : ubuntu-latest
2525 needs :
2626 - prereqs
You can’t perform that action at this time.
0 commit comments