Files
wehub-resource-sync 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
chore: import upstream snapshot with attribution
2026-07-13 13:39:52 +08:00

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