* initial prototype of partners collection with featured collection support * Starting to add the partners * Preparing the repo for how the custom agents will work * moving some files around * Moving a bunch of stuff around to make the file easier to read * improving the front matter parsing by using a real library * Some verbage updates * some more verbage * Fixing spelling mistake * tweaking badges * Updating contributing guide to be correct * updating casing to match product * More agents * Better handling link to mcp registry * links to install mcp servers fixed up * Updating collection tags * writing the mcp registry url out properly * Adding custom agents for C# and WinForms Expert custom agents to improve your experience when working with C# and WinForms in Copilot * Adding to agents readme * Adding PagerDuty agent * Fixing description for terraform agent * Adding custom agents to the README usage * Removing the button to make the links more obvious * docs: relocate category READMEs to /docs and update generation + internal links * Updating prompts for new path * formatting --------- Co-authored-by: Chris Patterson <chrispat@github.com>
68 lines
1.8 KiB
YAML
68 lines
1.8 KiB
YAML
name: Contributors
|
|
|
|
on:
|
|
schedule:
|
|
- cron: '0 3 * * 0' # Weekly on Sundays at 3am UTC
|
|
workflow_dispatch: # Manual trigger
|
|
|
|
jobs:
|
|
contributors:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: write
|
|
pull-requests: write
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v5
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: "20"
|
|
|
|
- name: Install dependencies
|
|
run: npm install
|
|
|
|
- name: Update contributors
|
|
run: npm run contributors:check
|
|
env:
|
|
PRIVATE_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
- name: Regenerate README
|
|
run: |
|
|
npm install
|
|
npm start
|
|
|
|
- name: Check for changes
|
|
id: verify-changed-files
|
|
run: |
|
|
if git diff --exit-code > /dev/null; then
|
|
echo "changed=false" >> $GITHUB_OUTPUT
|
|
else
|
|
echo "changed=true" >> $GITHUB_OUTPUT
|
|
fi
|
|
|
|
- name: Commit contributors
|
|
if: steps.verify-changed-files.outputs.changed == 'true'
|
|
run: |
|
|
git config --local user.email "action@github.com"
|
|
git config --local user.name "GitHub Action"
|
|
git add .
|
|
git commit -m "docs: update contributors" -a || exit 0
|
|
|
|
- name: Create Pull Request
|
|
if: steps.verify-changed-files.outputs.changed == 'true'
|
|
uses: peter-evans/create-pull-request@v7
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
commit-message: "docs: update contributors"
|
|
title: "Update Contributors"
|
|
body: |
|
|
Auto-generated PR to update contributors.
|
|
|
|
This PR was automatically created by the contributors workflow.
|
|
branch: update-contributors
|
|
delete-branch: true
|