Generate Supported Versions #17
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
name: "Generate Supported Versions" | |
on: | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
permissions: | |
contents: read | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true # runs bundle install | |
ruby-version: "3.3" | |
- name: Update latest | |
run: bundle exec ruby .github/scripts/find_gem_version_bounds.rb | |
- run: git diff | |
- name: Create Pull Request | |
id: cpr | |
uses: peter-evans/create-pull-request@v7 | |
with: | |
token: ${{ secrets.GHA_PAT }} | |
branch: auto-generate/update-supported-versions | |
title: '[🤖] Update Supported Versions' | |
base: master | |
labels: dev/internal, integrations | |
commit-message: "Test creating supported versions" | |
delete-branch: true | |
body: | | |
This is a PR to update the table for supported integration versions. | |
The supported versions markdown is generated from the minimum and maximum tested versions of each integration, | |
as defined from the `gemfile.lock` gem declarations. | |
Workflow run: [Generate Supported Versions](https://github.com/DataDog/dd-trace-rb/actions/workflows/generate-supported-versions.yml) | |
This should be tied to tracer releases, or triggered manually. | |