Skip to content

Commit e479f89

Browse files
authored
Small alignments of workflows across the 6 Java repos (#2409)
1 parent c0dc313 commit e479f89

File tree

8 files changed

+12
-16
lines changed

8 files changed

+12
-16
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
#
22
# Learn about membership in OpenTelemetry community:
3-
# https://github.com/open-telemetry/community/blob/main/guides/contributor/membership.md
4-
#
5-
#
6-
# Learn about CODEOWNERS file format:
7-
# https://help.github.com/en/articles/about-code-owners
3+
# https://github.com/open-telemetry/community/blob/main/guides/contributor/membership.md
84
#
95

106
* @open-telemetry/java-contrib-approvers

.github/config/lychee.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Lychee configuration file
2+
# See https://lychee.cli.rs/config/
3+
14
timeout = 30
25
retry_wait_time = 5
36
max_retries = 6

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
branches:
66
- main
77
- release/*
8+
workflow_dispatch:
89

910
permissions:
1011
contents: read

.github/workflows/gradle-wrapper-validation.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@ name: Gradle wrapper validation
22

33
on:
44
push:
5-
branches:
6-
- main
7-
- release/*
85
pull_request:
96
merge_group:
107

@@ -17,4 +14,5 @@ jobs:
1714
steps:
1815
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
1916

17+
# this needs to be in its own workflow in order to make OSSF scorecard happy
2018
- uses: gradle/actions/wrapper-validation@4d9f0ba0025fe599b4ebab900eb7f3a1d93ef4c2 # v5.0.0

.github/workflows/ossf-scorecard.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ on:
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

1314
jobs:
1415
analysis:

.github/workflows/owasp-dependency-check-daily.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ name: OWASP dependency check (daily)
44

55
on:
66
schedule:
7-
# daily at 1:30 UTC
8-
- cron: "30 1 * * *"
7+
- cron: "30 1 * * *" # daily at 1:30 UTC
98
workflow_dispatch:
109

1110
permissions:

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
2626
create-pull-request-against-release-branch:
2727
permissions:
28-
contents: write # for Git to git push
28+
contents: write # for git push to PR branch
2929
runs-on: ubuntu-latest
3030
needs:
3131
- prereqs
@@ -82,7 +82,7 @@ jobs:
8282
8383
create-pull-request-against-main:
8484
permissions:
85-
contents: write # for Git to git push
85+
contents: write # for git push to PR branch
8686
runs-on: ubuntu-latest
8787
needs:
8888
- prereqs

.github/workflows/reusable-misspell-check.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@ jobs:
1414

1515
- name: Install misspell
1616
run: |
17-
curl -L -o install-misspell.sh \
18-
https://raw.githubusercontent.com/client9/misspell/master/install-misspell.sh
19-
sh ./install-misspell.sh
17+
curl -sfL https://raw.githubusercontent.com/golangci/misspell/master/install-misspell.sh | sh -s -- -b bin
2018
2119
- name: Run misspell
2220
run: bin/misspell -error .

0 commit comments

Comments
 (0)