Skip to content

Add agentic workflow daily-repo-status - #2607

Merged
ElliotFriend merged 3 commits into
mainfrom
add-workflow-repo-status-3817
Jul 17, 2026
Merged

Add agentic workflow daily-repo-status#2607
ElliotFriend merged 3 commits into
mainfrom
add-workflow-repo-status-3817

Conversation

@ElliotFriend

@ElliotFriend ElliotFriend commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Copilot AI review requested due to automatic review settings July 14, 2026 19:19

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment on lines +19 to +20
tools:
github:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread .github/workflows/daily-repo-status.md Outdated
allowed-github-references: []
create-issue:
title-prefix: "[repo-status] "
labels: [report, daily-status]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed the non-existent report and daily-status labels (changed to []) so the workflow can reliably create issues. Done in 8d0fdbe.

@stellar-jenkins-ci

Copy link
Copy Markdown

@kaankacar

Copy link
Copy Markdown
Contributor

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 COPILOT_GITHUB_TOKEN

@stellar-jenkins-ci

Copy link
Copy Markdown

@stellar-jenkins-ci

Copy link
Copy Markdown

@ElliotFriend
ElliotFriend merged commit eccf36d into main Jul 17, 2026
9 checks passed
@ElliotFriend
ElliotFriend deleted the add-workflow-repo-status-3817 branch July 17, 2026 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants