e768098d0e
tools_continuous_delivery / Private PyPI non-main branch release (push) Has been skipped
tools_continuous_delivery / Private PyPI main branch release (push) Failing after 2m42s
Publish Promptflow Doc / Build (push) Has been cancelled
Publish Promptflow Doc / Deploy (push) Has been cancelled
Flake8 Lint / flake8 (push) Has been cancelled
Spell check CI / Spell_Check (push) Has been cancelled
32 lines
917 B
YAML
32 lines
917 B
YAML
name: check_enforcer
|
|
|
|
on:
|
|
pull_request:
|
|
branches: [ main ]
|
|
|
|
jobs:
|
|
check_enforcer:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
checks: read
|
|
contents: read
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
- run: env | sort >> $GITHUB_OUTPUT
|
|
- name: Python Setup - ubuntu-latest - Python Version 3.9
|
|
uses: "./.github/actions/step_create_python_environment"
|
|
with:
|
|
pythonVersion: 3.9
|
|
- run: pip install -r ${{ github.workspace }}/examples/dev_requirements.txt
|
|
- name: Summarize check status
|
|
id: summarize_check_status
|
|
working-directory: ${{ github.workspace }}
|
|
shell: pwsh
|
|
run: |
|
|
python ${{ github.workspace }}/scripts/check_enforcer/check_enforcer.py -t "${{ github.workspace }}"
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
SNIPPET_DEBUG: 1
|