Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Code owners file.
# This file controls who is tagged for review for any given pull request.
#
# Learn about membership in OpenTelemetry community:
# https://github.com/open-telemetry/community/blob/main/guides/contributor/membership.md
#

# For anything not explicitly taken by someone else:
* @open-telemetry/java-approvers
9 changes: 6 additions & 3 deletions .github/config/lychee.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Lychee configuration file
# See https://lychee.cli.rs/config/

timeout = 30
retry_wait_time = 5
max_retries = 6
Expand All @@ -8,11 +11,11 @@ include_fragments = true

remap = [
# workaround for https://github.com/lycheeverse/lychee/issues/1729
'https://github.com/(.*?)/(.*?)/blob/(.*?)/(.*#.*)$ https://raw.githubusercontent.com/$1/$2/$3/$4',
"https://github.com/(.*?)/(.*?)/blob/(.*?)/(.*#.*)$ https://raw.githubusercontent.com/$1/$2/$3/$4",
]

# excluding links to pull requests and issues is done for performance
exclude = [
'^https://github.com/open-telemetry/opentelemetry-java/(issues|pull)/\d+$',
'^https://www.javadoc.io/badge/(.*?)/(.*?).svg$', # returns 522
"^https://github.com/open-telemetry/opentelemetry-java/(issues|pull)/\\d+$",
"^https://www.javadoc.io/badge/(.*?)/(.*?).svg$", # returns 522
]
2 changes: 1 addition & 1 deletion .github/workflows/backport.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
fetch-depth: 0

- name: Use CLA approved github bot
run: .github/scripts/use-cla-approved-github-bot.sh
run: .github/scripts/use-cla-approved-bot.sh

- uses: actions/create-github-app-token@67018539274d69449ef7c02e8e71183d1719ab42 # v2.1.4
id: otelbot-token
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
java -jar libs/opentelemetry-sdk-trace-*-jmh.jar -rf json SpanBenchmark SpanPipelineBenchmark ExporterBenchmark

- name: Use CLA approved github bot
run: .github/scripts/use-cla-approved-github-bot.sh
run: .github/scripts/use-cla-approved-bot.sh

- name: Store benchmark results
uses: benchmark-action/github-action-benchmark@4bdcce38c94cec68da58d012ac24b7b1155efe8b # v1.20.7
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ jobs:
markdown-link-check:
# release branches are excluded to avoid unnecessary maintenance
if: ${{ !startsWith(github.ref_name, 'release/') }}
uses: ./.github/workflows/reusable-markdown-link-check.yml
uses: ./.github/workflows/reusable-link-check.yml

misspell-check:
# release branches are excluded to avoid unnecessary maintenance
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/gradle-wrapper-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ jobs:
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0

# this needs to be in its own workflow in order to make OSSF scorecard happy
- uses: gradle/actions/wrapper-validation@4d9f0ba0025fe599b4ebab900eb7f3a1d93ef4c2 # v5.0.0
5 changes: 3 additions & 2 deletions .github/workflows/issue-management-feedback-label.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Issue management - remove needs feedback label
name: Issue management - remove labels as needed

on:
issue_comment:
Expand All @@ -20,9 +20,10 @@ jobs:
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0

- name: Remove label
- name: Remove labels
env:
ISSUE_NUMBER: ${{ github.event.issue.number }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh issue edit --remove-label "needs author feedback" $ISSUE_NUMBER
gh issue edit --remove-label "stale" $ISSUE_NUMBER
1 change: 1 addition & 0 deletions .github/workflows/issue-management-stale-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
schedule:
# hourly at minute 23
- cron: "23 * * * *"
workflow_dispatch:

permissions:
contents: read
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/ossf-scorecard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ on:
- cron: "43 6 * * 5" # weekly at 06:43 (UTC) on Friday
workflow_dispatch:

permissions: read-all
permissions:
contents: read

jobs:
analysis:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prepare-patch-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
sed -Ei "s/^## Unreleased$/## Version $VERSION ($date)/" CHANGELOG.md

- name: Use CLA approved github bot
run: .github/scripts/use-cla-approved-github-bot.sh
run: .github/scripts/use-cla-approved-bot.sh

- uses: actions/create-github-app-token@67018539274d69449ef7c02e8e71183d1719ab42 # v2.1.4
id: otelbot-token
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/prepare-release-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
sed -Ei "s/^## Unreleased$/## Version $VERSION ($date)/" CHANGELOG.md

- name: Use CLA approved github bot
run: .github/scripts/use-cla-approved-github-bot.sh
run: .github/scripts/use-cla-approved-bot.sh

- uses: actions/create-github-app-token@67018539274d69449ef7c02e8e71183d1719ab42 # v2.1.4
id: otelbot-token
Expand Down Expand Up @@ -113,7 +113,7 @@ jobs:
sed -Ei "s/^## Unreleased$/## Unreleased\n\n## Version $VERSION ($date)/" CHANGELOG.md

- name: Use CLA approved github bot
run: .github/scripts/use-cla-approved-github-bot.sh
run: .github/scripts/use-cla-approved-bot.sh

- uses: actions/create-github-app-token@67018539274d69449ef7c02e8e71183d1719ab42 # v2.1.4
id: otelbot-token
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ jobs:
git add README.md

- name: Use CLA approved bot
run: .github/scripts/use-cla-approved-github-bot.sh
run: .github/scripts/use-cla-approved-bot.sh

- uses: actions/create-github-app-token@67018539274d69449ef7c02e8e71183d1719ab42 # v2.1.4
id: otelbot-token
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/reusable-misspell-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ jobs:

- name: Install misspell
run: |
curl -L -o install-misspell.sh https://raw.githubusercontent.com/client9/misspell/master/install-misspell.sh
sh ./install-misspell.sh
curl -sfL https://raw.githubusercontent.com/golangci/misspell/master/install-misspell.sh | sh -s -- -b bin

- name: Run misspell
run: bin/misspell -error .
Loading