diff --git a/.github/repository-settings.md b/.github/repository-settings.md index b04c3138edef..4451e18f47c5 100644 --- a/.github/repository-settings.md +++ b/.github/repository-settings.md @@ -29,3 +29,4 @@ private admin repo. ### Organization variables - `OTELBOT_APP_ID` +- `OTELBOT_JAVA_INSTRUMENTATION_APP_ID` (scoped only to this repo) diff --git a/.github/workflows/auto-license-report.yml b/.github/workflows/auto-license-report.yml index 07173899c34f..e15a12c222ed 100644 --- a/.github/workflows/auto-license-report.yml +++ b/.github/workflows/auto-license-report.yml @@ -71,7 +71,7 @@ jobs: if: steps.check-patch.outputs.exists == 'true' id: otelbot-token with: - app-id: ${{ secrets.OTELBOT_JAVA_INSTRUMENTATION_APP_ID }} + app-id: ${{ vars.OTELBOT_JAVA_INSTRUMENTATION_APP_ID }} private-key: ${{ secrets.OTELBOT_JAVA_INSTRUMENTATION_PRIVATE_KEY }} - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 diff --git a/.github/workflows/metadata-update.yml b/.github/workflows/metadata-update.yml index f44b0279f585..df9151e0ccfa 100644 --- a/.github/workflows/metadata-update.yml +++ b/.github/workflows/metadata-update.yml @@ -24,7 +24,7 @@ jobs: - uses: actions/create-github-app-token@7e473efe3cb98aa54f8d4bac15400b15fad77d94 # v2.2.0 id: otelbot-token with: - app-id: ${{ secrets.OTELBOT_JAVA_INSTRUMENTATION_APP_ID }} + app-id: ${{ vars.OTELBOT_JAVA_INSTRUMENTATION_APP_ID }} private-key: ${{ secrets.OTELBOT_JAVA_INSTRUMENTATION_PRIVATE_KEY }} - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0