[check-enforcer] Add test action triggering on workflow_run#49565
Open
raych1 wants to merge 14 commits into
Open
[check-enforcer] Add test action triggering on workflow_run#49565raych1 wants to merge 14 commits into
raych1 wants to merge 14 commits into
Conversation
Contributor
There was a problem hiding this comment.
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_runtrigger intended to fire oncompletedworkflow runs.
Removed workflow_run trigger from event.yml
mikeharder
reviewed
Jun 19, 2026
mikeharder
reviewed
Jun 19, 2026
mikeharder
requested changes
Jun 19, 2026
Co-authored-by: mikeharder <9459391+mikeharder@users.noreply.github.com>
mikeharder
approved these changes
Jun 19, 2026
mikeharder
reviewed
Jun 19, 2026
mikeharder
reviewed
Jun 19, 2026
mikeharder
reviewed
Jun 19, 2026
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
mikeharder
reviewed
Jun 19, 2026
| 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) |
Member
There was a problem hiding this comment.
@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
reviewed
Jun 19, 2026
mikeharder
reviewed
Jun 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request adds support for the
workflow_runevent in the GitHub Actions workflow configuration, allowing the workflow to be triggered when any workflow run is completed.