Skip to content

Add workflow to trigger changelog-automation on CHANGELOG.md changes#117

Merged
augmentmoogi merged 1 commit intomainfrom
augmentmoogi-trigger-changelog-automation
Apr 8, 2026
Merged

Add workflow to trigger changelog-automation on CHANGELOG.md changes#117
augmentmoogi merged 1 commit intomainfrom
augmentmoogi-trigger-changelog-automation

Conversation

@augmentmoogi
Copy link
Copy Markdown
Contributor

@augmentmoogi augmentmoogi commented Apr 7, 2026

Add a GitHub Actions workflow that automatically triggers the changelog-automation repository's workflow whenever CHANGELOG.md is updated on main.

What's Changing

Creates .github/workflows/trigger-changelog-automation.yml, which listens for pushes to main that modify CHANGELOG.md and dispatches the changelog.yml workflow in augmentcode/changelog-automation via the GitHub API.

Key Details

  • Trigger: push to main with a path filter on CHANGELOG.md
  • Action: Sends a POST request to the changelog-automation repo's workflow_dispatch endpoint targeting main
  • Authentication: Uses the CHANGELOG_AUTOMATION_PAT secret for cross-repository authorization
  • Request: Uses curl -sf so the job fails fast if the dispatch call returns a non-success status

This removes the need to manually kick off the downstream changelog automation whenever the changelog is updated through a PR merge or direct push.


🤖 This description was generated automatically. Please react with 👍 if it's helpful or 👎 if it needs improvement.

@augmentmoogi augmentmoogi marked this pull request as ready for review April 8, 2026 00:00
Copy link
Copy Markdown

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

This workflow cleanly dispatches the downstream changelog-automation workflow and uses curl -sf so it fails fast on non-success responses. My only suggestion is to explicitly scope the job's GITHUB_TOKEN permissions, which is consistent with the other workflows in this repo and follows the principle of least privilege.


🤖 Automated review complete. Please react with 👍 or 👎 on the individual review comments to provide feedback on their usefulness.

Copy link
Copy Markdown
Contributor

@augment-app-staging augment-app-staging bot left a comment

Choose a reason for hiding this comment

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

Review completed. 1 suggestion posted.

Fix All in Augment

Comment augment review to trigger a new review at any time.

@augmentmoogi augmentmoogi merged commit 8cde94b into main Apr 8, 2026
2 checks passed
@augmentmoogi augmentmoogi deleted the augmentmoogi-trigger-changelog-automation branch April 8, 2026 00:06
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.

1 participant