Skip to content

Commit

Permalink
Add exception for Microsoft Engineers on compile.yml check
Browse files Browse the repository at this point in the history
  • Loading branch information
calebofearth committed Mar 29, 2024
1 parent 8e0d230 commit 29752c0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/pre-run-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,15 @@ on:
workflow_call:

jobs:
env:
MSFT_ACTORS: ( "Nitsirks" "calebofearth" "mojtaba-bisheh" "anjpar" "upadhyayulakiran" )
# Fail if any compile.yml has been modified
# (Microsoft employees use these to run an internal tool)
# Don't run this job for manual runs
compile_yml_check:
name: compile.yml Check
runs-on: ubuntu-22.04
if: ${{ github.event_name == 'pull_request' }}
if: ${{ (github.event_name == 'pull_request') && ! contains(env.MSFT_ACTORS, github.actor) }}
steps:
- name: Checkout RTL repo
uses: actions/checkout@v4
Expand Down

0 comments on commit 29752c0

Please sign in to comment.