Skip to content
Merged
Changes from 10 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .github/workflows/check-enforcer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# NOTE: currently azure-sdk-actions only hosts check enforcer code.
# If further functionality is added, this name should be updated to reflect
# the more generic behavior
name: "\\[TEST-IGNORE\\] Check Enforcer"
Comment thread
Copilot marked this conversation as resolved.
Outdated

on:
check_suite:
types: [completed]
issue_comment:
types: [created]
Comment thread
mikeharder marked this conversation as resolved.
workflow_run:
workflows: ["*"]
types: [completed]
Comment thread
mikeharder marked this conversation as resolved.

permissions: {}

jobs:
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)
Comment thread
raych1 marked this conversation as resolved.
checks: read # to read check status (azure/azure-sdk-actions)
name: Handle ${{ github.event_name }} ${{ github.event.action }} event
Comment thread
mikeharder marked this conversation as resolved.
Outdated
runs-on: ubuntu-latest # This image is intentionally set to "latest", and not to a specific version
steps:
- uses: azure/azure-sdk-actions@e1ab1a2cb5944bfea74b5cdbfc96e34da96548d2
with:
token: ${{ secrets.GITHUB_TOKEN }}