Skip to content

Adding an action to invoke webhooks #78

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Jul 27, 2025
Merged

Adding an action to invoke webhooks #78

merged 8 commits into from
Jul 27, 2025

Conversation

aaronpowell
Copy link
Contributor

This will allow external tools to be notified when there are updates on the main branch so they can request the data from the repo

This will allow external tools to be notified when there are updates on the main branch so they can request the data from the repo
@Copilot Copilot AI review requested due to automatic review settings July 11, 2025 00:32
Copilot

This comment was marked as outdated.

@aaronpowell aaronpowell requested a review from Copilot July 11, 2025 01:11
Copilot

This comment was marked as outdated.

@aaronpowell aaronpowell requested a review from Copilot July 11, 2025 01:17
Copilot

This comment was marked as outdated.

@aaronpowell aaronpowell requested a review from Copilot July 11, 2025 01:49
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds a GitHub Actions workflow to automatically call external webhooks when changes are pushed to the main branch, enabling external tools to be notified of repository updates.

  • Adds a new workflow that triggers on pushes to the main branch
  • Implements webhook calling logic with proper validation and error handling
  • Configures minimal permissions following the principle of least privilege
Comments suppressed due to low confidence (1)

.github/workflows/webhook-caller.yml:31

  • [nitpick] The variable name 'idx' is ambiguous and unclear. Consider renaming it to 'index' or 'webhook_index' for better readability.
            idx=1

@aaronpowell aaronpowell merged commit e644ab7 into main Jul 27, 2025
3 checks passed
@aaronpowell aaronpowell deleted the webhooks-action branch July 27, 2025 23:53
AungMyoKyaw pushed a commit to AungMyoKyaw/awesome-copilot that referenced this pull request Aug 1, 2025
* Adding an action to invoke webhooks

This will allow external tools to be notified when there are updates on the main branch so they can request the data from the repo

* Addressing some feedback

* Changing the log messages

* Cleaning up log message

* Update .github/workflows/webhook-caller.yml

Co-authored-by: Copilot <[email protected]>

* Update .github/workflows/webhook-caller.yml

Co-authored-by: Copilot <[email protected]>

* Update .github/workflows/webhook-caller.yml

Co-authored-by: Copilot <[email protected]>

---------

Co-authored-by: Copilot <[email protected]>
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