Skip to content

Commit 3a72c96

Browse files
inevolinIlyaCopilot
authored
Add daily Copilot agent contributor workflow
Sets up a scheduled GitHub Actions workflow that runs daily at 8AM UTC. Each day it creates a GitHub Issue with a detailed expert contributor prompt and assigns it to @copilot, which triggers the Copilot coding agent to research new industrial decarbonization resources and open a PR. Co-authored-by: Ilya <ilja.nevolin@users.noreply.github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 6d1b494 commit 3a72c96

1 file changed

Lines changed: 78 additions & 0 deletions

File tree

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
name: Daily Copilot Agent Contributor
2+
3+
on:
4+
schedule:
5+
- cron: '0 8 * * *' # Every day at 8:00 AM UTC
6+
workflow_dispatch: # Allow manual trigger for testing
7+
8+
permissions:
9+
issues: write
10+
11+
jobs:
12+
create-agent-task:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Create daily contribution issue for Copilot
16+
uses: actions/github-script@v7
17+
with:
18+
script: |
19+
const today = new Date().toISOString().split('T')[0];
20+
21+
const issue = await github.rest.issues.create({
22+
owner: context.repo.owner,
23+
repo: context.repo.repo,
24+
title: `Daily Contribution: Research & Add New Industrial Decarbonization Resources (${today})`,
25+
body: `## 🌱 Daily Expert Contributor Task — ${today}
26+
27+
You are acting as a **senior expert contributor** to this industrial decarbonization knowledge base (an awesome-list style resource hub). Your role is to grow and improve this repository with high-quality, curated additions.
28+
29+
---
30+
31+
### 🎯 Primary Goals
32+
33+
1. **Find & Add New Resources** — Identify recent, credible, high-value resources related to industrial decarbonization:
34+
- Research papers, academic publications, and scientific reports
35+
- Policy documents, regulations, and government frameworks
36+
- Industry case studies, pilots, and real-world deployments
37+
- Tools, databases, and open-source projects
38+
- News about breakthroughs in key hard-to-abate sectors (steel, cement, chemicals, shipping, aviation, etc.)
39+
- Standards, certification schemes, and methodologies
40+
41+
2. **Curate with Quality Standards** — Only add resources that are:
42+
- Authoritative (published by credible institutions: IEA, IPCC, governments, top universities, reputable NGOs, industry bodies)
43+
- Substantive and relevant to industrial decarbonization practice
44+
- **Not already present** in the repository (check existing content carefully)
45+
- Recent preferred, but seminal older works are welcome
46+
47+
3. **Improve Structure When Needed** — If the structure could better serve readers:
48+
- Reorganize or rename sections for clarity
49+
- Fix broken links
50+
- Improve descriptions of existing resources
51+
- Create new sections/files if a topic is underrepresented
52+
53+
---
54+
55+
### 📁 Repository Structure
56+
57+
- \`README.md\` — Main entry point and overview
58+
- \`Industries.md\` — Industry-specific decarbonization resources (steel, cement, chemicals, etc.)
59+
- \`Insetting.md\` — Carbon insetting resources
60+
- \`Offsetting.md\` — Carbon offsetting resources
61+
- \`Articles/\` — In-depth articles directory
62+
63+
---
64+
65+
### ✅ Contribution Guidelines
66+
67+
- Follow the **existing markdown formatting style** precisely
68+
- Add a **brief, informative description** for each new resource (1–2 sentences)
69+
- Place resources in the **most appropriate file and section**
70+
- If you add 5+ resources to a topic not well represented, consider creating a new section
71+
- Write a **clear PR title and description** summarizing what you added and why it matters
72+
73+
Please research thoroughly and create a PR with your contributions.`,
74+
assignees: ['copilot'],
75+
});
76+
77+
console.log(`✅ Created issue #${issue.data.number}`);
78+
console.log(`🔗 ${issue.data.html_url}`);

0 commit comments

Comments
 (0)