Skip to content

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
quinna-h committed Sep 19, 2024
1 parent bb9b1e3 commit fcc65dd
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/auto-update-gemfiles.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
name: Auto-update Gemfiles

# This action cannot be skipped altogether because it is a mandatory status check.
# Instead we conditionally skip it at job level, instead of workflow level.
on:
schedule:
- cron: '0 0 * * 0' # Every Sunday at midnight
Expand Down Expand Up @@ -64,7 +62,7 @@ jobs:
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: 'datadog-gem-${{ matrix.engine.name }}-${{ matrix.engine.version }}-gha${{ github.run_id }}'
name: 'gha${{ github.run_id }}-datadog-gem-${{ matrix.engine.name }}-${{ matrix.engine.version }}'
path: gemfiles/${{ matrix.engine.name }}_${{ matrix.engine.version }}_*
retention-days: 3

Expand All @@ -83,7 +81,7 @@ jobs:
uses: actions/download-artifact@v4
with:
path: gemfiles
pattern: datadog-gem-*
pattern: gha${{ github.run_id }}-datadog-gem-*
merge-multiple: true

- run: ls -R gemfiles
Expand All @@ -104,6 +102,6 @@ jobs:
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 fcc65dd

Please sign in to comment.