Skip to content

Generate PRs Table #405

Generate PRs Table

Generate PRs Table #405

Workflow file for this run

name: Generate PRs Table
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
jobs:
generate-table:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: 16
- name: Install dependencies
run: npm install
- name: Generate PRs Table
env:
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
run: node generate-experience.js
- name: Commit and Push Changes
run: |
git config --global user.name "Ansh Goyal"
git config --global user.email "[email protected]"
git add .
git commit -m "Update README.md with PRs table" --allow-empty
git push
env:
PAT: ${{ secrets.GH_PAT }}