Skip to content

Generate configuration #201

Generate configuration

Generate configuration #201

name: Generate configuration
on:
workflow_dispatch:
schedule:
- cron: 0 23 * * * # Every 07:00 CST
concurrency: generateConfiguration
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
generateConfiguration:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
show-progress: false
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: lts/*
check-latest: true
cache: npm
- name: Installing the dependencies
uses: AnnAngela/cached_node-modules@v2
with:
command: npm run ci
- name: Prepare git
run: node scripts/postCommit/prepareGit.js
- name: Expose GitHub Runtime
uses: crazy-max/ghaction-github-runtime@v3
- name: Generate unrecognizable features
run: node scripts/generateUnrecognizableFeatures/index.js
- name: Generate user rights schema
run: node scripts/generateUserRightsSchema/index.js
- name: Show git status & push
run: node scripts/postCommit/push.js