Skip to content

Try to set input

Try to set input #13

Workflow file for this run

name: Get Repo Info
# Run every night at midnight
# on:
# schedule:
# - cron: '0 0 * * *'
on:
push:
branches:
- main
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
get-info-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '20.5.1'
- name: Install deps
run: |
npm install @actions/core
npm install @actions/github
- name: Get Repo Info
run: node src/lib/scripts/GetRepoInfo.js
with:

Check failure on line 35 in .github/workflows/get-repo-info.yml

View workflow run for this annotation

GitHub Actions / Get Repo Info

Invalid workflow file

The workflow is not valid. .github/workflows/get-repo-info.yml (Line: 35, Col: 9): Unexpected value 'with'
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Commit Repo Changes
run: |
git config --local user.email "q2d2.noreply@gmail.com"
git config --local user.name "q2d2"
git add .
git commit -m "Updated Repo Info"
git push