Update README.md Package Versions #42
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: Update README.md Package Versions | |
on: | |
schedule: | |
- cron: "0 0 * * 0" # every Sunday at 00:00 | |
workflow_dispatch: | |
jobs: | |
update-readme-package-versions: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
pull-requests: write | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- name: Setup Bun | |
uses: oven-sh/setup-bun@4bc047ad259df6fc24a6c9b0f9a0cb08cf17fbe5 # v2 | |
with: | |
bun-version: 1.x.x | |
- name: Install dependencies | |
run: bun i | |
- name: Update README.md package Versions | |
id: update-readme-package-versions | |
run: | | |
bun scripts/update-readme-package-versions.ts | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f # v7 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
commit-message: "chore: update package versions in README.md" | |
committer: GitHub Actions Bot <[email protected]> | |
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com> | |
branch: update-readme-package-versions | |
delete-branch: true | |
title: "chore: update package versions in README.md" | |
body: | | |
This PR updates the biome package version in README.md to the latest version. | |
add-paths: README.md |