Skip to content

[check-enforcer] Add test action triggering on workflow_run#49565

Open
raych1 wants to merge 14 commits into
mainfrom
users/raych1/add-workflow-run-trigger
Open

[check-enforcer] Add test action triggering on workflow_run#49565
raych1 wants to merge 14 commits into
mainfrom
users/raych1/add-workflow-run-trigger

Conversation

@raych1

@raych1 raych1 commented Jun 19, 2026

Copy link
Copy Markdown
Member

This pull request adds support for the workflow_run event in the GitHub Actions workflow configuration, allowing the workflow to be triggered when any workflow run is completed.

Copilot AI review requested due to automatic review settings June 19, 2026 00:00
@raych1 raych1 requested a review from a team as a code owner June 19, 2026 00:00
@raych1 raych1 self-assigned this Jun 19, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 updates the repository’s .github/workflows/event.yml workflow triggers to add support for the workflow_run event, intending to run the “Check Enforcer” workflow when workflow runs complete.

Changes:

  • Added a workflow_run trigger intended to fire on completed workflow runs.

Comment thread .github/workflows/event.yml Outdated
Comment thread .github/workflows/event-test.yml Outdated
Comment thread .github/workflows/event-test.yml Outdated
Co-authored-by: mikeharder <9459391+mikeharder@users.noreply.github.com>
Copilot AI requested a review from mikeharder June 19, 2026 00:42
Comment thread .github/workflows/check-enforcer.yml Outdated
Comment thread .github/workflows/check-enforcer.yml Outdated

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 3 comments.

Comment thread .github/workflows/check-enforcer.yml
Comment thread .github/workflows/check-enforcer.yml Outdated
Comment thread .github/workflows/check-enforcer.yml
Comment thread .github/workflows/check-enforcer.yml Outdated
mikeharder and others added 2 commits June 18, 2026 19:20
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
check-enforcer:
permissions:
statuses: write # to set status (azure/azure-sdk-actions)
pull-requests: read # to read pull requests; use "write" for response comments (azure/azure-sdk-actions)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@raych1: let's start with just "pull-requests:read", which is enough to post back status. it won't allow the action to write comments, but let's wait to add the permission until we want this feature.

@mikeharder mikeharder changed the title Add workflow_run trigger to event.yml [check-enforcer] Add test action triggering on workflow_run Jun 19, 2026
Comment thread .github/workflows/check-enforcer.yml Outdated
Comment thread .github/workflows/check-enforcer.yml Outdated
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.

4 participants