Skip to content

Update tracked files #117388

Update tracked files

Update tracked files #117388

Workflow file for this run

name: Update tracked files
on:
schedule:
- cron: '*/15 * * * *'
jobs:
update-deps:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
token: ${{ secrets.PAT }}
- uses: actions/setup-node@v1
with:
node-version: '18.x'
- name: Update tracked files
id: vars
env:
HYPIXEL_API_KEY: ${{ secrets.HYPIXEL_API_KEY }}
run: |
npm install
npm start
echo "COMMIT_MESSAGE"="$(git status --porcelain | wc -l) files | $(git status --porcelain|awk '{print "basename " $2}'| sh | sed '{:q;N;s/\n/, /g;t q}')" >> $GITHUB_ENV
- name: Commit changes
uses: stefanzweifel/[email protected]
with:
commit_message: ${{ env.COMMIT_MESSAGE }}