diff --git a/.github/workflows/pre-run-check.yml b/.github/workflows/pre-run-check.yml index a024d9cad..2b8940a06 100644 --- a/.github/workflows/pre-run-check.yml +++ b/.github/workflows/pre-run-check.yml @@ -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