Skip to content

Update dependencies #27

Update dependencies

Update dependencies #27

name: Update dependencies
on:
schedule:
- cron: '0 0 * * 1'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
update-deps:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-node
- name: Update astro and @astrojs/* dependencies
run: pnpm up -r "@astrojs/*" astro --latest
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
branch: ci/update-deps
token: ${{ secrets.FREDKBOT_GITHUB_TOKEN }}
commit-message: 'ci: update dependencies'
title: 'ci: update dependencies'
body: |
This PR is auto-generated by a nightly GitHub action to update `astro` and related dependencies.
labels: ci