Skip to content

Remove push trigger from repo-tree-map agentic workflow#1548

Merged
pelikhan merged 3 commits intomainfrom
copilot/remove-push-trigger-workflow
Oct 11, 2025
Merged

Remove push trigger from repo-tree-map agentic workflow#1548
pelikhan merged 3 commits intomainfrom
copilot/remove-push-trigger-workflow

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Oct 11, 2025

Changes

Removed the push trigger from the repo-tree-map agentic workflow, leaving only workflow_dispatch as the trigger mechanism.

Before

on:
  workflow_dispatch:
  push:
    paths:
      - '.github/workflows/repo-tree-map.lock.yml'

After

on:
  workflow_dispatch:

Details

The workflow was previously configured to trigger on pushes that modified its own lock file (.github/workflows/repo-tree-map.lock.yml), which could cause unnecessary workflow runs. This change restricts the workflow to manual triggers only via workflow_dispatch, making it run only when explicitly invoked.

The compiled .lock.yml file was automatically regenerated using gh aw compile to reflect this change. As a side effect, the concurrency group was also simplified from gh-aw-${{ github.workflow }}-${{ github.ref }} to gh-aw-${{ github.workflow }} since the ref context is no longer needed without push triggers.

Testing

  • All unit tests pass
  • Workflow compilation validated successfully
  • Verified the push trigger is completely removed from both source and compiled files
Original prompt

Remove push trigger from repo-tree-map agentic workflow, recompile


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Remove push trigger from repo-tree-map workflow Remove push trigger from repo-tree-map agentic workflow Oct 11, 2025
Copilot AI requested a review from pelikhan October 11, 2025 16:00
@pelikhan pelikhan marked this pull request as ready for review October 11, 2025 16:00
@github-actions
Copy link
Copy Markdown
Contributor

Agentic Changeset Generator triggered by this pull request

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@pelikhan pelikhan merged commit 51fb523 into main Oct 11, 2025
4 checks passed
@pelikhan pelikhan deleted the copilot/remove-push-trigger-workflow branch October 11, 2025 16:09
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.

2 participants