mirror of
https://github.com/renovatebot/renovate.git
synced 2026-11-10 22:09:09 +00:00
4b81362fd9
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
50 lines
1.3 KiB
YAML
50 lines
1.3 KiB
YAML
name: 'Update static data'
|
|
on:
|
|
schedule:
|
|
- cron: '0 0 * * 0' # Every Sunday at midnight
|
|
workflow_dispatch:
|
|
|
|
env:
|
|
NODE_VERSION: 18
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
update-data:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: write
|
|
pull-requests: write
|
|
steps:
|
|
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
|
|
|
- name: Enable corepack
|
|
shell: bash
|
|
run: corepack enable
|
|
|
|
- name: Set up Node.js ${{ env.NODE_VERSION }}
|
|
uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
|
|
with:
|
|
node-version: ${{ env.NODE_VERSION }}
|
|
cache: pnpm
|
|
|
|
- name: Install dependencies
|
|
run: pnpm install
|
|
|
|
- name: Update static data
|
|
run: pnpm run update-static-data
|
|
|
|
- name: Run Prettier
|
|
run: pnpm prettier-fix
|
|
|
|
- name: Create pull request
|
|
uses: peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38 # v5.0.2
|
|
with:
|
|
author: 'Renovate Bot <renovate@whitesourcesoftware.com>'
|
|
branch: 'chore/update-static-data'
|
|
commit-message: 'fix(data): automatic update of static data'
|
|
committer: 'Renovate Bot <renovate@whitesourcesoftware.com>'
|
|
title: 'fix(data): automatic update of static data'
|
|
assignees: rarkins,viceice
|