Skip to content

ci action updatd

ci action updatd #5

Workflow file for this run

name: Fetch GitHub MetaData
on:
schedule:
# Runs at 00:00 UTC every day
- cron: '0 0 * * *'
workflow_dispatch:
jobs:
fetch-data:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/[email protected]
- name: Set up Node.js
uses: actions/[email protected]
with:
node-version: '21'
- name: Fetch GitHub Repos
env:
GITHUB_TOKEN: ${{ secrets.GHTOKEN }}
run: |
node ./action/fetch-data.js
- name: Commit and push changes
env:
GITHUB_TOKEN: ${{ secrets.GHTOKEN }}
run: |

Check failure on line 31 in .github/workflows/gh-meta.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/gh-meta.yml

Invalid workflow file

You have an error in your yaml syntax on line 31
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git add ghmeta.json
git commit -m 'Update ghmeta.json with latest GitHub data'
git push