Skip to content

Transform

Transform #7

Workflow file for this run

name: Transform
on:
workflow_dispatch:
jobs:
parse-basic-items:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Check out the repository
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '20'
- name: Run Script
run: |
rm -rf ./neu
git clone --depth 1 https://github.com/NotEnoughUpdates/NotEnoughUpdates-REPO.git ./neu
node .github/scripts/parsers/parse.mjs
- name: Commit and push changes
run: |
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions[bot]"
git add .
git commit -m "Update Repository"
git push