-
Notifications
You must be signed in to change notification settings - Fork 5
31 lines (26 loc) · 863 Bytes
/
nightly.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: Nightly - update dependencies
on:
schedule:
- cron: '0 12 * * *'
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