Gem freshness report #3
This file contains hidden or 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: Gem freshness report | |
| on: | |
| schedule: | |
| - cron: "0 8 * * 1" # Mondays 08:00 UTC | |
| workflow_dispatch: | |
| permissions: | |
| contents: read # to fetch code (actions/checkout) | |
| jobs: | |
| report: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: hmarr/debug-action@v3 | |
| - uses: actions/checkout@v6 | |
| - uses: ./.github/workflows/composite/setup | |
| - name: Generate report | |
| run: | | |
| bundle exec rake gem_freshness:report | tee gem_freshness_report.md | |
| cat gem_freshness_report.md >> "$GITHUB_STEP_SUMMARY" | |
| - name: Upload report artifact | |
| uses: actions/upload-artifact@v6 | |
| with: | |
| path: gem_freshness_report.md | |
| retention-days: 140 |