Skip to content

Update Org Members in README #1318

Update Org Members in README

Update Org Members in README #1318

Workflow file for this run

name: Update Org Members in README
on:
workflow_dispatch:
permissions:
contents: write
jobs:
update-readme:
runs-on: ubuntu-latest
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GH_PAT: ${{ secrets.GH_PAT }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '20'
- name: Install dependencies
run: npm install
- name: Run script
run: node index.js
- name: Commit & Push
run: |
git config user.name "GitHub Action"
git config user.email "action@github.com"
git add .
git commit -m "Update org members" || echo "No changes to commit"
git remote set-url origin https://x-access-token:${GH_PAT}@github.com/debug-community/.github.git
git push origin HEAD:main