Skip to content

Commit a8e5370

Browse files
committed
Merge branch 'main' into logger-instrumentation
2 parents a707fc5 + 653ccd5 commit a8e5370

File tree

323 files changed

+7741
-1177
lines changed

Some content is hidden

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

323 files changed

+7741
-1177
lines changed

.github/actions/test_gem/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ runs:
8484
# ...but not for appraisals, sadly.
8585
- name: Install Ruby ${{ inputs.ruby }} with dependencies
8686
if: "${{ steps.setup.outputs.appraisals == 'false' }}"
87-
uses: ruby/setup-ruby@v1.255.0
87+
uses: ruby/setup-ruby@v1.258.0
8888
with:
8989
ruby-version: "${{ inputs.ruby }}"
9090
working-directory: "${{ steps.setup.outputs.gem_dir }}"
@@ -95,7 +95,7 @@ runs:
9595
# If we're using appraisals, do it all manually.
9696
- name: Install Ruby ${{ inputs.ruby }} without dependencies
9797
if: "${{ steps.setup.outputs.appraisals == 'true' }}"
98-
uses: ruby/setup-ruby@v1.255.0
98+
uses: ruby/setup-ruby@v1.258.0
9999
with:
100100
ruby-version: "${{ inputs.ruby }}"
101101
bundler: "latest"

.github/workflows/ci-instrumentation-with-services.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ jobs:
212212
build: true
213213
services:
214214
redis:
215-
image: bitnami/redis:6.2
215+
image: bitnamilegacy/redis:6.2
216216
ports:
217217
- 6379:6379
218218
options: >-

.github/workflows/fossa.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,33 @@ jobs:
1515
steps:
1616
- uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # v4.2.2
1717

18+
- name: Install Ruby 3.4
19+
uses: ruby/[email protected]
20+
with:
21+
ruby-version: 3.4
22+
- name: Generate Gemfile.lock
23+
run: |
24+
echo "Finding all Gemfiles in the project..."
25+
echo "======================================="
26+
ORIGINAL_DIR=$(pwd)
27+
28+
find . -type f -name "Gemfile" -not -path "*/example/*" -not -path "*/releases/*" | sort | while read gemfile; do
29+
gemfile_dir=$(dirname "$gemfile")
30+
31+
# Change to the Gemfile's directory
32+
echo "Changing to directory: $gemfile_dir"
33+
34+
cd "$gemfile_dir" || continue
35+
36+
echo "Current directory: $(pwd)"
37+
echo "Creating lock file for: $gemfile"
38+
39+
# Generate the gemlock files
40+
bundle lock || echo "Warning: Failed to generate lock file for $gemfile, continuing..."
41+
42+
cd "$ORIGINAL_DIR" || exit 1
43+
done
44+
1845
- uses: fossas/fossa-action@3ebcea1862c6ffbd5cf1b4d0bd6b3fe7bd6f2cac # v1.7.0
1946
with:
2047
api-key: ${{secrets.FOSSA_API_KEY}}

.github/workflows/installation-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- uses: actions/checkout@v5
2929
# ATTENTION: Dependabot does not know how to update shared actions file.
3030
# If you see it update setup-ruby here also update it as part of actions/test_gem/action.yml
31-
- uses: ruby/setup-ruby@v1.255.0
31+
- uses: ruby/setup-ruby@v1.263.0
3232
with:
3333
ruby-version: ${{ matrix.ruby-version }}
3434
- name: "Install Latest Gem Versions on ${{ matrix.ruby-version }}"

.github/workflows/ossf-scorecard.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
with:
2525
persist-credentials: false
2626

27-
- uses: ossf/scorecard-action@05b42c624433fc40578a4040d5cf5e36ddca8cde # v2.4.2
27+
- uses: ossf/scorecard-action@4eaacf0543bb3f2c246792bd56e8cdeffafb205a # v2.4.3
2828
with:
2929
results_file: results.sarif
3030
results_format: sarif
@@ -43,6 +43,6 @@ jobs:
4343
# Upload the results to GitHub's code scanning dashboard (optional).
4444
# Commenting out will disable upload of results to your repo's Code Scanning dashboard
4545
- name: "Upload to code-scanning"
46-
uses: github/codeql-action/upload-sarif@df559355d593797519d70b90fc8edd5db049e7a2 # v3.29.9
46+
uses: github/codeql-action/upload-sarif@64d10c13136e1c5bce3e5fbde8d4906eeaafc885 # v3.30.6
4747
with:
4848
sarif_file: results.sarif

.github/workflows/release-hook-on-closed.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
runs-on: ubuntu-latest
1919
steps:
2020
- name: Install Ruby ${{ env.ruby_version }}
21-
uses: ruby/setup-ruby@v1.255.0
21+
uses: ruby/setup-ruby@v1.263.0
2222
with:
2323
ruby-version: ${{ env.ruby_version }}
2424
- name: Checkout repo

.github/workflows/release-hook-on-push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
runs-on: ubuntu-latest
2020
steps:
2121
- name: Install Ruby ${{ env.ruby_version }}
22-
uses: ruby/setup-ruby@v1.255.0
22+
uses: ruby/setup-ruby@v1.263.0
2323
with:
2424
ruby-version: ${{ env.ruby_version }}
2525
- name: Checkout repo

.github/workflows/release-perform.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
runs-on: ubuntu-latest
2929
steps:
3030
- name: Install Ruby ${{ env.ruby_version }}
31-
uses: ruby/setup-ruby@v1.255.0
31+
uses: ruby/setup-ruby@v1.263.0
3232
with:
3333
ruby-version: ${{ env.ruby_version }}
3434
- name: Checkout repo

.github/workflows/release-please.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ jobs:
1919
name: Process Release
2020
runs-on: ubuntu-latest
2121
steps:
22-
- uses: actions/create-github-app-token@a8d616148505b5069dccd32f177bb87d7f39123b # v2.1.1
22+
- uses: actions/create-github-app-token@67018539274d69449ef7c02e8e71183d1719ab42 # v2.1.4
2323
id: otelbot-token
2424
with:
2525
app-id: ${{ vars.OTELBOT_APP_ID }}
2626
private-key: ${{ secrets.OTELBOT_PRIVATE_KEY }}
27-
- uses: googleapis/release-please-action@v4.2.0
27+
- uses: googleapis/release-please-action@v4.3.0
2828
id: prepare
2929
# with:
3030
# token: ${{ steps.otelbot-token.outputs.token }}
@@ -57,7 +57,7 @@ jobs:
5757
chmod 0600 $HOME/.gem/credentials
5858
printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
5959
60-
- uses: ruby/setup-ruby@v1.255.0
60+
- uses: ruby/setup-ruby@v1.263.0
6161
with:
6262
ruby-version: "3.1"
6363
bundler: latest

.github/workflows/release-request-weekly.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
runs-on: ubuntu-latest
1919
steps:
2020
- name: Install Ruby ${{ env.ruby_version }}
21-
uses: ruby/setup-ruby@v1.255.0
21+
uses: ruby/setup-ruby@v1.263.0
2222
with:
2323
ruby-version: ${{ env.ruby_version }}
2424

@@ -28,16 +28,17 @@ jobs:
2828
- name: Install Toys
2929
run: "gem install --no-document toys -v 0.15.5"
3030

31-
- name: Create otelbot token
32-
uses: actions/create-github-app-token@a8d616148505b5069dccd32f177bb87d7f39123b # v2.1.1
33-
id: otelbot-token
31+
- name: Create otelbot app token
32+
uses: actions/[email protected].4
33+
id: app-token
3434
with:
35-
app-id: ${{ vars.OTELBOT_APP_ID }}
36-
private-key: ${{ secrets.OTELBOT_PRIVATE_KEY }}
35+
app-id: ${{ vars.OTELBOT_RUBY_CONTRIB_APP_ID }}
36+
private-key: ${{ secrets.OTELBOT_RUBY_CONTRIB_PRIVATE_KEY }}
3737

3838
- name: Open release pull request
3939
env:
40-
GITHUB_TOKEN: ${{ steps.otelbot-token.outputs.token }}
40+
# Using the app token instead of GITHUB_TOKEN to trigger workflows
41+
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
4142
run: |
4243
toys release request --yes --verbose \
4344
"--release-ref=${{ github.ref }}" \

0 commit comments

Comments
 (0)