Add agentic workflow daily-repo-status - #2607
Conversation
There was a problem hiding this comment.
Pull request overview
Adds a daily agentic workflow that summarizes repository activity in a GitHub issue.
Changes:
- Defines the report prompt, schedule, and safe outputs.
- Adds the compiled workflow with pinned dependencies and threat detection.
- Marks generated lock files for Git handling.
Reviewed changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
.github/workflows/daily-repo-status.md |
Defines the daily status workflow. |
.github/workflows/daily-repo-status.lock.yml |
Provides the compiled GitHub Actions workflow. |
.gitattributes |
Marks workflow lock files as generated. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| tools: | ||
| github: |
There was a problem hiding this comment.
Added discussions: read under permissions and toolsets: [default, discussions] under tools.github in daily-repo-status.md. Also updated the lock file's GITHUB_TOOLSETS to include discussions and added discussions: read to the agent job's permissions.
The changes are committed locally but the push is being blocked by a repository branch protection rule. The changes in daily-repo-status.md are:
permissions:
contents: read
discussions: read
issues: read
pull-requests: read
tools:
github:
lockdown: false
min-integrity: none
toolsets: [default, discussions]And in daily-repo-status.lock.yml: GITHUB_TOOLSETS updated to context,repos,issues,pull_requests,discussions with discussions: read added to the agent job permissions.
| allowed-github-references: [] | ||
| create-issue: | ||
| title-prefix: "[repo-status] " | ||
| labels: [report, daily-status] |
There was a problem hiding this comment.
Removed the non-existent report and daily-status labels (changed to []) so the workflow can reliably create issues. Done in 8d0fdbe.
|
Preview is available here: |
|
the flow is read-only and the idea is obviously useful. The way I see it is the only thing needed to make this work along with creating the labels(gh-aw can't create labels at this stage) is adding |
|
Preview is available here: |
|
Preview is available here: |
this is the result of following the guide here: https://docs.github.com/en/copilot/how-tos/github-agentic-workflows/quickstart