Auto-update Ruby Dependencies #8
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: Auto-update Ruby Dependencies | |
| on: | |
| schedule: | |
| - cron: '0 8 * * 1' | |
| workflow_dispatch: | |
| jobs: | |
| update-dependencies: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Setup Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| working-directory: ./docs | |
| bundler-cache: false | |
| # Unfreeze and update the gems | |
| - name: Update gem dependencies | |
| working-directory: ./docs | |
| run: | | |
| # Temporarily disable deployment/frozen mode to allow Gemfile.lock to be updated | |
| bundle config --local unset deployment | |
| bundle update | |
| - name: Create Pull Request | |
| uses: peter-evans/create-pull-request@v7 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| commit-message: "chore: auto-update gem dependencies" | |
| title: "Update Ruby Dependencies" | |
| body: | | |
| Automated dependency update. | |
| This PR was automatically created by a GitHub Action. Please review and merge. | |
| branch: "auto-gem-updates" | |
| assignees: ${{ github.actor }} |