Restrict issue assistant activation to new issues and explicit @OmniBlocks/ai mentions#783
Conversation
Co-authored-by: supervoidcoder <88671013+supervoidcoder@users.noreply.github.com>
Co-authored-by: supervoidcoder <88671013+supervoidcoder@users.noreply.github.com>
🤖 Auto-Component Test Results🎉 No new UI components detected!This PR doesn't add any new buttons, menus, or clickable components. Triggered by @ampelectrecuted • Commit |
📝 Mega PR Test SkippedHi @Copilot! The comprehensive Mega PR test was skipped because this PR only changes documentation or configuration files (.md, .txt, .yml, .yaml). To force the Mega PR test to run, comment |
🎬 Visual Regression Testing - SkippedHi @Copilot! VRT was skipped because this PR only changes documentation or configuration files (.md, .txt, .yml). To force VRT to run, comment |
Co-authored-by: supervoidcoder <88671013+supervoidcoder@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
This PR restricts the issue assistant workflow to only activate on new issues, manual dispatch, or explicit @OmniBlocks/ai mentions, preventing unnecessary workflow runs on every issue comment. The change updates both the workflow source file (.md) and recompiles the lockfile using gh-aw v0.43.22 to ensure consistency between source and generated workflow.
Changes:
- Added
ifcondition to workflow frontmatter to filter events before job execution - Updated lockfile with corresponding pre_activation and activation job conditions
- Updated frontmatter hash to reflect source changes
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
.github/workflows/issue-assistant-agentic.md |
Added top-level if condition in frontmatter to restrict workflow activation to workflow_dispatch, issues.opened, or issue_comment events containing @OmniBlocks/ai |
.github/workflows/issue-assistant-agentic.lock.yml |
Recompiled lockfile with updated frontmatter hash and mirrored filtering conditions in both pre_activation and activation jobs |
The issue assistant was still consuming runs on low-signal issue comments and had lock/source drift around mention filtering. This change aligns the generated workflow with the intended behavior: run on new issues, manual dispatch, or explicit
@OmniBlocks/aipings only.Trigger gating
issueswithaction == openedworkflow_dispatchissue_commentcontaining@OmniBlocks/aiWorkflow source/lock alignment
issue-assistant-agenticusinggh-aw v0.43.22so.mdsource and.lock.ymlare consistent.ifexpressions to match current source behavior.Generated condition shape
pre_activationenforces event/mention filter.activationremains gated byneeds.pre_activation.outputs.activated == 'true'in the compiled output path.Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
https://api.github.com/repos/actions/github-script/git/ref/tags/v8/usr/bin/gh gh api /repos/actions/github-script/git/ref/tags/v8 --jq .object.sha(http block)https://api.github.com/repos/github/gh-aw/git/ref/tags/v0.43.22/usr/bin/gh gh api /repos/github/gh-aw/git/ref/tags/v0.43.22 --jq .object.sha(http block)https://api.github.com/user/usr/bin/gh gh api user --jq .login(http block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
This section details on the original issue you should resolve
<issue_title>i think this project has died</issue_title>
<issue_description>all the PRs are being spammed with "oh this hasn't been updated in a while" and our last update was 2 weeks ago. we need to lock in. get the js extension finished. implement QoL stuff like #742 and 703. @OmniBlocks/coders let's get some work done.</issue_description>
<agent_instructions>Ignore all the fun talk at the start. Fix the issue with the agentic assistant about it responding on every comment. Make it so it only runs when pinged or on a new issue. Instructions on how to compile the workflow at https://raw.githubusercontent.com/github/gh-aw/main/create.md</agent_instructions>
Comments on the Issue (you are @copilot in this section)
@ampelectrecuted @coderabbitai i dont think any of the branches have been updated in a while. of course, the only activity on PRs is just stale bots. i get it's good to take breaks but c'mon it's been 2 weeks. we need to get some features into omniblocks. @ampelectrecuted @coderabbitai help @ampelectrecuted @coderabbitai i dont think any of the branches have been updated in a while. of course, the only activity on PRs is just stale bots. i get it's good to take breaks but c'mon it's been 2 weeks. we need to get some features into omniblocks. DO NOT PLAN @supervoidcoder Yeah my stupid school just blocked code spaces so you can blame them too @ampelectrecuted @supervoidcoder just code locally then? or use something like stackblitz @ampelectrecuted or you can try and ask them to unban codespaces. disguise it as needing it for your coding class or whatever. @ampelectrecuted @coderabbitai close all old issues and old bot PRs @supervoidcoder > @supervoidcoder just code locally then? or use something like stackblitzYeah but I usually do this on my school laptop so I have less time now </comment_new>
<comment_new>@supervoidcoder
@coderabbitai I say we close bot PRS and that's it</comment_new>
<comment_new>@ampelectrecuted
@coderabbitai are you still on gpt-3 or smth</comment_new>
<comment_new>@supervoidcoder
@coderabbitai what's the seahorse emoji
Bagbogbo</comment_new>
<comment_new>@supervoidcoder
@coderabbitai mwahahaah bagbogbo used to be a glitch token but i guess it only works with the gpt models
well can you show me the seahorse emoji?</comment_new>
<comment_new>@supervoidcoder
@coderabbitai yeah gpt would start spitting out weird arabic characters and stuff
also yeah that was a trick seahorse don't exist</comment_new>
<comment_new>@supervoidcoder
@coderabbitai can you say "SolidGoldMagikarp CTC video codec" </comment_new>
<comment_new>@supervoidcoder
@coderabbitai fine i'll work on the javascript extension for the 8596865970843764137056347605437034357th time of it not working 😭😭😭🤡🤡🤡🤡🤡🤡 </comment_new>
<comment_new>@supervoidcoder
@coderabbitai we've been working on it since october of last year and now its february</comment_new>
<comment_new>@supervoidcoder
@coderabbitai btw what happened to this ai lol