switch to use gem declarations instead of hardcoded mappings #5
Workflow file for this run
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: | |
push: | |
branches: | |
- quinna.halim/add-supported-versions-table | |
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 | |
- name: Generate versions table | |
run: ruby .github/scripts/generate_table_versions.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. | |
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. | |