-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of github.com:open-telemetry/opentelemetry-java-c…
…ontrib into jmx-scraper-test
- Loading branch information
Showing
27 changed files
with
348 additions
and
118 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
name: CodeQL | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
- release/* | ||
- v0.* | ||
- v1.* | ||
push: | ||
branches: | ||
- main | ||
- release/* | ||
- v0.* | ||
- v1.* | ||
schedule: | ||
- cron: "29 13 * * 2" # weekly at 13:29 UTC on Tuesday | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
analyze: | ||
permissions: | ||
contents: read | ||
actions: read # for github/codeql-action/init to get workflow details | ||
security-events: write # for github/codeql-action/analyze to upload SARIF results | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | ||
|
||
- name: Set up Java 17 | ||
uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 # v4.7.0 | ||
with: | ||
distribution: temurin | ||
java-version: 17 | ||
|
||
- name: Set up gradle | ||
uses: gradle/actions/setup-gradle@94baf225fe0a508e581a564467443d0e2379123b # v4.3.0 | ||
|
||
- name: Initialize CodeQL | ||
uses: github/codeql-action/init@dd746615b3b9d728a6a37ca2045b68ca76d4841a # v3.28.8 | ||
with: | ||
languages: java, actions | ||
# using "latest" helps to keep up with the latest Kotlin support | ||
# see https://github.com/github/codeql-action/issues/1555#issuecomment-1452228433 | ||
tools: latest | ||
|
||
- name: Assemble | ||
# --no-build-cache is required for codeql to analyze all modules | ||
# --no-daemon is required for codeql to observe the compilation | ||
# (see https://docs.github.com/en/code-security/codeql-cli/getting-started-with-the-codeql-cli/preparing-your-code-for-codeql-analysis#specifying-build-commands) | ||
run: ./gradlew assemble --no-build-cache --no-daemon | ||
|
||
- name: Perform CodeQL analysis | ||
uses: github/codeql-action/analyze@dd746615b3b9d728a6a37ca2045b68ca76d4841a # v3.28.8 | ||
|
||
workflow-notification: | ||
permissions: | ||
contents: read | ||
issues: write | ||
needs: | ||
- analyze | ||
if: always() | ||
uses: ./.github/workflows/reusable-workflow-notification.yml | ||
with: | ||
success: ${{ needs.analyze.result == 'success' }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
name: Gradle wrapper validation | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- '**/gradle/wrapper/**' | ||
push: | ||
paths: | ||
- '**/gradle/wrapper/**' | ||
pull_request: | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
validation: | ||
gradle-wrapper-validation: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | ||
|
||
- uses: gradle/wrapper-validation-action@v3.5.0 | ||
- uses: gradle/actions/wrapper-validation@94baf225fe0a508e581a564467443d0e2379123b # v4.3.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,28 @@ | ||
name: Issue management - remove needs feedback label | ||
name: Issue management - remove labels as needed | ||
|
||
on: | ||
issue_comment: | ||
types: [created] | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
issue_comment: | ||
permissions: | ||
contents: read | ||
issues: write | ||
if: > | ||
contains(github.event.issue.labels.*.name, 'needs author feedback') && | ||
github.event.comment.user.login == github.event.issue.user.login | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | ||
|
||
- 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 |
Oops, something went wrong.