Skip to content

Commit f6cc595

Browse files
authored
Merge branch 'main' into update-renovate-config
2 parents 13371da + 55bd524 commit f6cc595

File tree

48 files changed

+585
-145
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+585
-145
lines changed

.github/renovate.json5

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
{
22
$schema: 'https://docs.renovatebot.com/renovate-schema.json',
33
extends: [
4-
'config:recommended',
5-
'docker:pinDigests',
4+
'config:best-practices',
65
'helpers:pinGitHubActionDigestsToSemver',
76
],
87
ignorePresets: [
@@ -170,8 +169,8 @@
170169
{
171170
customType: 'regex',
172171
datasourceTemplate: 'npm',
173-
fileMatch: [
174-
'^.github/workflows/',
172+
managerFilePatterns: [
173+
'/^.github/workflows//',
175174
],
176175
matchStrings: [
177176
'npx (?<depName>[^@]+)@(?<currentValue>[^\\s]+)',

.github/repository-settings.md

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,28 @@
22

33
Same
44
as [opentelemetry-java-instrumentation repository settings](https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/.github/repository-settings.md#repository-settings),
5-
except that the rules for `gh-pages` and `cloudfoundry` branches are not relevant in this
6-
repository.
5+
except for
6+
7+
- The rules for `gh-pages` and `cloudfoundry` branches are not relevant in this repository.
8+
9+
and the enablement of merge queues below.
10+
11+
## Merge queue
12+
13+
Needs to be enabled using classic branch protection (instead of rule set)
14+
because of our use of the classic branch protection "Restrict who can push to matching branches"
15+
which otherwise will block the merge queue from merging to main.
16+
17+
### Restrict branch creation
18+
19+
- Additional exclusion for `gh-readonly-queue/main/pr-*`
20+
21+
### Classic branch protection for `main`
22+
23+
- Require merge queue: CHECKED
24+
- Build concurrency: 5
25+
- Maximum pull requests to build: 5
26+
- Minimum pull requests to merge: 1, or after 5 minutes
27+
- Maximum pull requests to merge: 5
28+
- Only merge non-failing pull requests: CHECKED
29+
- Status check timeout: 60 minutes

.github/scripts/generate-release-contributors.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,6 @@ echo $contributors1 $contributors2 \
8585
| sort -uf \
8686
| grep -v linux-foundation-easycla \
8787
| grep -v github-actions \
88-
| grep -v dependabot \
8988
| grep -v renovate \
90-
| grep -v opentelemetrybot \
9189
| grep -v otelbot \
9290
| sed 's/^/@/'

.github/workflows/backport.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Use CLA approved bot
3030
run: .github/scripts/use-cla-approved-bot.sh
3131

32-
- uses: actions/create-github-app-token@3ff1caaa28b64c9cc276ce0a02e2ff584f3900c5 # v2.0.2
32+
- uses: actions/create-github-app-token@df432ceedc7162793a195dd1713ff69aefc7379e # v2.0.6
3333
id: otelbot-token
3434
with:
3535
app-id: ${{ vars.OTELBOT_APP_ID }}

.github/workflows/codeql.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
uses: gradle/actions/setup-gradle@06832c7b30a0129d7fb559bcc6e43d26f6374244 # v4.3.1
3939

4040
- name: Initialize CodeQL
41-
uses: github/codeql-action/init@45775bd8235c68ba998cffa5171334d58593da47 # v3.28.15
41+
uses: github/codeql-action/init@60168efe1c415ce0f5521ea06d5c2062adbeed1b # v3.28.17
4242
with:
4343
languages: java, actions
4444
# using "latest" helps to keep up with the latest Kotlin support
@@ -52,4 +52,4 @@ jobs:
5252
run: ./gradlew assemble --no-build-cache --no-daemon
5353

5454
- name: Perform CodeQL analysis
55-
uses: github/codeql-action/analyze@45775bd8235c68ba998cffa5171334d58593da47 # v3.28.15
55+
uses: github/codeql-action/analyze@60168efe1c415ce0f5521ea06d5c2062adbeed1b # v3.28.17

.github/workflows/ossf-scorecard.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,6 @@ jobs:
4242
# Upload the results to GitHub's code scanning dashboard (optional).
4343
# Commenting out will disable upload of results to your repo's Code Scanning dashboard
4444
- name: "Upload to code-scanning"
45-
uses: github/codeql-action/upload-sarif@45775bd8235c68ba998cffa5171334d58593da47 # v3.28.15
45+
uses: github/codeql-action/upload-sarif@60168efe1c415ce0f5521ea06d5c2062adbeed1b # v3.28.17
4646
with:
4747
sarif_file: results.sarif

.github/workflows/prepare-patch-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
- name: Use CLA approved bot
4848
run: .github/scripts/use-cla-approved-bot.sh
4949

50-
- uses: actions/create-github-app-token@3ff1caaa28b64c9cc276ce0a02e2ff584f3900c5 # v2.0.2
50+
- uses: actions/create-github-app-token@df432ceedc7162793a195dd1713ff69aefc7379e # v2.0.6
5151
id: otelbot-token
5252
with:
5353
app-id: ${{ vars.OTELBOT_APP_ID }}

.github/workflows/prepare-release-branch.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
- name: Use CLA approved bot
6060
run: .github/scripts/use-cla-approved-bot.sh
6161

62-
- uses: actions/create-github-app-token@3ff1caaa28b64c9cc276ce0a02e2ff584f3900c5 # v2.0.2
62+
- uses: actions/create-github-app-token@df432ceedc7162793a195dd1713ff69aefc7379e # v2.0.6
6363
id: otelbot-token
6464
with:
6565
app-id: ${{ vars.OTELBOT_APP_ID }}
@@ -116,7 +116,7 @@ jobs:
116116
- name: Use CLA approved bot
117117
run: .github/scripts/use-cla-approved-bot.sh
118118

119-
- uses: actions/create-github-app-token@3ff1caaa28b64c9cc276ce0a02e2ff584f3900c5 # v2.0.2
119+
- uses: actions/create-github-app-token@df432ceedc7162793a195dd1713ff69aefc7379e # v2.0.6
120120
id: otelbot-token
121121
with:
122122
app-id: ${{ vars.OTELBOT_APP_ID }}

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ jobs:
221221
- name: Use CLA approved bot
222222
run: .github/scripts/use-cla-approved-bot.sh
223223

224-
- uses: actions/create-github-app-token@3ff1caaa28b64c9cc276ce0a02e2ff584f3900c5 # v2.0.2
224+
- uses: actions/create-github-app-token@df432ceedc7162793a195dd1713ff69aefc7379e # v2.0.6
225225
id: otelbot-token
226226
with:
227227
app-id: ${{ vars.OTELBOT_APP_ID }}

.github/workflows/reusable-markdown-link-check.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,12 @@ jobs:
1212
steps:
1313
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1414

15-
- uses: lycheeverse/lychee-action@1d97d84f0bc547f7b25f4c2170d87d810dc2fb2c # v2.4.0
15+
- uses: lycheeverse/lychee-action@82202e5e9c2f4ef1a55a3d02563e1cb6041e5332 # v2.4.1
1616
with:
1717
# excluding links to pull requests and issues is done for performance
1818
args: >
1919
--include-fragments
20-
--exclude "^https://github.com/open-telemetry/opentelemetry-java-contrib/(issue|pull)/\\d+$"
20+
--exclude "^https://github.com/open-telemetry/opentelemetry-java-contrib/(issues|pull)/\\d+$"
2121
--max-retries 6
22+
--max-concurrency 1
2223
.

0 commit comments

Comments
 (0)