Skip to content

Commit 56a46af

Browse files
Copilotaaronpowell
andcommitted
Add all-contributors setup with contributor recognition
Co-authored-by: aaronpowell <[email protected]>
1 parent 5ebe30f commit 56a46af

File tree

7 files changed

+954
-1
lines changed

7 files changed

+954
-1
lines changed

.all-contributorsrc

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"projectName": "github/awesome-copilot",
3+
"projectOwner": "github",
4+
"repoType": "github",
5+
"repoHost": "https://github.com",
6+
"files": [
7+
"README.md"
8+
],
9+
"imageSize": 100,
10+
"commit": false,
11+
"commitConvention": "angular",
12+
"contributors": [
13+
{
14+
"login": "tossnet",
15+
"name": "Christophe Peugnet",
16+
"avatar_url": "https://avatars.githubusercontent.com/u/3845786?v=4",
17+
"profile": "https://github.com/tossnet",
18+
"contributions": [
19+
"code"
20+
]
21+
}
22+
],
23+
"contributorsPerLine": 7,
24+
"linkToUsage": false
25+
}

.github/workflows/contributors.yml

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
name: Contributors
2+
3+
on:
4+
schedule:
5+
- cron: '0 3 * * 0' # Weekly on Sundays at 3am UTC
6+
workflow_dispatch: # Manual trigger
7+
8+
jobs:
9+
contributors:
10+
runs-on: ubuntu-latest
11+
permissions:
12+
contents: write
13+
pull-requests: write
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v4
17+
with:
18+
fetch-depth: 0
19+
20+
- name: Setup Node.js
21+
uses: actions/setup-node@v4
22+
with:
23+
node-version: "20"
24+
25+
- name: Install dependencies
26+
run: npm install
27+
28+
- name: Update contributors
29+
uses: all-contributors/[email protected]
30+
with:
31+
args: 'check'
32+
env:
33+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34+
35+
- name: Regenerate README
36+
run: node update-readme.js
37+
38+
- name: Check for changes
39+
id: verify-changed-files
40+
run: |
41+
if git diff --exit-code > /dev/null; then
42+
echo "changed=false" >> $GITHUB_OUTPUT
43+
else
44+
echo "changed=true" >> $GITHUB_OUTPUT
45+
fi
46+
47+
- name: Commit contributors
48+
if: steps.verify-changed-files.outputs.changed == 'true'
49+
run: |
50+
git config --local user.email "[email protected]"
51+
git config --local user.name "GitHub Action"
52+
git add .
53+
git commit -m "docs: update contributors" -a || exit 0
54+
55+
- name: Create Pull Request
56+
if: steps.verify-changed-files.outputs.changed == 'true'
57+
uses: peter-evans/create-pull-request@v5
58+
with:
59+
token: ${{ secrets.GITHUB_TOKEN }}
60+
commit-message: "docs: update contributors"
61+
title: "Update Contributors"
62+
body: |
63+
Auto-generated PR to update contributors.
64+
65+
This PR was automatically created by the contributors workflow.
66+
branch: update-contributors
67+
delete-branch: true

CONTRIBUTING.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,21 @@ To maintain a safe, responsible, and constructive community, we will **not accep
145145
- **Write clearly**: Use simple, direct language
146146
- **Promote best practices**: Encourage secure, maintainable, and ethical development practices
147147

148+
## Contributors Recognition
149+
150+
This project uses [all-contributors](https://github.com/all-contributors/all-contributors) to recognize contributors. When you make a contribution, you'll automatically be recognized in our contributors list!
151+
152+
We welcome contributions of all types, including:
153+
- 📝 Documentation improvements
154+
- 💻 Code contributions
155+
- 🐛 Bug reports and fixes
156+
- 🎨 Design improvements
157+
- 💡 Ideas and suggestions
158+
- 🤔 Answering questions
159+
- 📢 Promoting the project
160+
161+
Your contributions help make this resource better for the entire GitHub Copilot community!
162+
148163
## Code of Conduct
149164

150165
Please note that this project is released with a [Contributor Code of Conduct](CODE_OF_CONDUCT.md). By participating in this project you agree to abide by its terms.

README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# 🤖 Awesome GitHub Copilot Customizations
22

33
[![Powered by Awesome Copilot](https://img.shields.io/badge/Powered_by-Awesome_Copilot-blue?logo=githubcopilot)](https://aka.ms/awesome-github-copilot)
4+
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
5+
[![All Contributors](https://img.shields.io/badge/all_contributors-1-orange.svg?style=flat-square)](#contributors-)
6+
<!-- ALL-CONTRIBUTORS-BADGE:END -->
47

58
Enhance your GitHub Copilot experience with community-contributed [instructions](#-custom-instructions), [prompts](#-reusable-prompts), and [chat modes](#-custom-chat-modes). Get consistent AI assistance that follows your team's coding standards and project requirements.
69

@@ -244,6 +247,28 @@ Custom chat modes define specific behaviors and tools for GitHub Copilot Chat, e
244247
| [Wg Code Sentinel](chatmodes/wg-code-sentinel.chatmode.md)<br />[![Install in VS Code](https://img.shields.io/badge/VS_Code-Install-0098FF?style=flat-square&logo=visualstudiocode&logoColor=white)](https://vscode.dev/redirect?url=vscode%3Achat-mode%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fchatmodes%2Fwg-code-sentinel.chatmode.md)<br />[![Install in VS Code](https://img.shields.io/badge/VS_Code_Insiders-Install-24bfa5?style=flat-square&logo=visualstudiocode&logoColor=white)](https://insiders.vscode.dev/redirect?url=vscode-insiders%3Achat-mode%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fchatmodes%2Fwg-code-sentinel.chatmode.md) | Ask WG Code Sentinel to review your code for security issues. |
245248

246249

250+
## Contributors ✨
251+
252+
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
253+
254+
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
255+
<!-- prettier-ignore-start -->
256+
<!-- markdownlint-disable -->
257+
<table>
258+
<tbody>
259+
<tr>
260+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/tossnet"><img src="https://avatars.githubusercontent.com/u/3845786?v=4?s=100" width="100px;" alt="Christophe Peugnet"/><br /><sub><b>Christophe Peugnet</b></sub></a><br /><a href="https://github.com/github/awesome-copilot/commits?author=tossnet" title="Code">💻</a></td>
261+
</tr>
262+
</tbody>
263+
</table>
264+
265+
<!-- markdownlint-restore -->
266+
<!-- prettier-ignore-end -->
267+
268+
<!-- ALL-CONTRIBUTORS-LIST:END -->
269+
270+
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
271+
247272
## 📚 Additional Resources
248273

249274
- [VS Code Copilot Customization Documentation](https://code.visualstudio.com/docs/copilot/copilot-customization) - Official Microsoft documentation

0 commit comments

Comments
 (0)