Skip to content

Commit

Permalink
Update workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
quinna-h committed Sep 19, 2024
1 parent e62263b commit 11725a9
Showing 1 changed file with 12 additions and 74 deletions.
86 changes: 12 additions & 74 deletions .github/workflows/auto-update-gemfiles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,91 +79,29 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Download artifacts for Ruby 2.5
- name: Download artifacts for all Ruby runtimes
uses: actions/download-artifact@v4
with:
name: 'datadog-gem-ruby-2.5-gha${{ github.run_id }}'
path: gemfiles

- name: Download artifacts for Ruby 2.6
uses: actions/download-artifact@v4
with:
name: 'datadog-gem-ruby-2.6-gha${{ github.run_id }}'
path: gemfiles

- name: Download artifacts for Ruby 2.7
uses: actions/download-artifact@v4
with:
name: 'datadog-gem-ruby-2.7-gha${{ github.run_id }}'
path: gemfiles

- name: Download artifacts for Ruby 3.0
uses: actions/download-artifact@v4
with:
name: 'datadog-gem-ruby-3.0-gha${{ github.run_id }}'
path: gemfiles

- name: Download artifacts for Ruby 3.1
uses: actions/download-artifact@v4
with:
name: 'datadog-gem-ruby-3.1-gha${{ github.run_id }}'
path: gemfiles

- name: Download artifacts for Ruby 3.2
uses: actions/download-artifact@v4
with:
name: 'datadog-gem-ruby-3.2-gha${{ github.run_id }}'
path: gemfiles

- name: Download artifacts for Ruby 3.3
uses: actions/download-artifact@v4
with:
name: 'datadog-gem-ruby-3.3-gha${{ github.run_id }}'
path: gemfiles

- name: Download artifacts for Ruby 3.4
uses: actions/download-artifact@v4
with:
name: 'datadog-gem-ruby-3.4-gha${{ github.run_id }}'
path: gemfiles

- name: Download artifacts for JRuby 9.2
uses: actions/download-artifact@v4
with:
name: 'datadog-gem-jruby-9.2-gha${{ github.run_id }}'
path: gemfiles
pattern: datadog-gem-ruby-*
merge-multiple: true

- name: Download artifacts for JRuby 9.3
uses: actions/download-artifact@v4
with:
name: 'datadog-gem-jruby-9.3-gha${{ github.run_id }}'
path: gemfiles

- name: Download artifacts for JRuby 9.4
uses: actions/download-artifact@v4
with:
name: 'datadog-gem-jruby-9.4-gha${{ github.run_id }}'
path: gemfiles

# ADD NEW RUBIES HERE

- run: ls -R gemfiles

- run: git diff

- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
branch: update-latest-gemfiles
commit-message: "update latest gemfiles"
commit-message: "update latest gemfiles, workflow run: ${{ github.run_id }}"
delete-branch: true
base: master
title: 'Update Latest Gemfiles'
labels: dev/internal, integrations
body: |
**What does this PR do?**
This is an auto-generated PR from 'Auto-update Gemfiles' workflow
**Motivation:**
**Additional Notes:**
Auto-generated PR
This is an auto-generated PR from 'Auto-update Gemfiles' workflow.
The PR updates the integration gemfiles to latest versions of dependencies.
Merge if green, otherwise add to backlog.
The default behavior is to create a pull request that will be continually updated with new changes
until it is merged or closed.

0 comments on commit 11725a9

Please sign in to comment.