这是indexloc提供的服务,不要输入任何密码
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

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

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 and others added 3 commits July 11, 2025 11:50
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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