Skip to content

Commit cb96e36

Browse files
committed
Refactor issue labeller workflow
- Deleted the old issue labeller markdown file and replaced it with a new version that includes updated formatting and structure. - Updated README to correct the spelling of "labeler" and adjusted references to the job name in the workflow. - Added a new lock file for the issue labeler workflow, detailing the steps and configurations for the GitHub Actions workflow. - Enhanced the agentic output collection and logging mechanisms to improve clarity and functionality. - Implemented a more robust label addition process, ensuring only allowed labels are applied based on agent output.
1 parent 84a0951 commit cb96e36

3 files changed

Lines changed: 16 additions & 16 deletions

File tree

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ output:
66
labels:
77
allowed: [bug, feature]
88
---
9-
## Issue Labeller
9+
## Issue Labeler
1010
- analyze issue #${{ github.event.issue.number }} content
1111
- categorize the content as 'bug' or 'feature'
1212
- label the issue accordingly

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ You can explore other samples at [githubnext/agentics](https://github.com/github
4747

4848
## 📝 Agentic Workflow Example
4949

50-
Here's what a simple agentic issue labeller workflow. This example automatically labels an incoming issue.
50+
Here's what a simple agentic issue labeler workflow. This example automatically labels an incoming issue.
5151
The section between `---` at the start is called the frontmatter and contains a superset of GitHub Actions Workflow syntax.
5252

5353
```markdown
@@ -76,7 +76,7 @@ on:
7676
issues:
7777
types: [opened]
7878
jobs:
79-
issue-labeller:
79+
issue-labeler:
8080
permissions:
8181
contents: read # agent container only has read access
8282
outputs:
@@ -86,7 +86,7 @@ jobs:
8686
# run agent with markdown prompt
8787
# save outputs
8888
add_labels:
89-
needs: issue-labeller
89+
needs: issue-labeler # wait for agent results
9090
permissions:
9191
issues: write # write access to add labels
9292
steps:

0 commit comments

Comments
 (0)