Правит поля updatedAt и createdAt #4397
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: Maintainer Helper | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
update-lists: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Формирует список меты файлов | |
run: | | |
echo '{"type": "module","dependencies": {"@octokit/core": "^5.0.0","node-fetch": "^3.3.2"}}' > package.json | |
npm install | |
npx yaml-cat --format json --output result.json css/**/index.md html/**/index.md js/**/index.md tools/**/index.md a11y/**/index.md | |
- name: Обновление списков материалов-кандидатов на редактирование | |
run: node .github/scripts/editor-helper.js --github-key ${{ secrets.GITHUB_TOKEN }} | |
- name: Обновление списков материалов-кандидатов на доработку демок | |
run: node .github/scripts/demos-helper.js --github-key ${{ secrets.GITHUB_TOKEN }} | |
- name: Обновление списков материалов с дескрипшенами и без | |
run: node .github/scripts/description-helper.js --github-key ${{ secrets.GITHUB_TOKEN }} |