Files
edx-platform/.github/workflows/verify-dunder-init.yml
Feanil Patel 6c7a95c7a0 build: Fix workflow triggers for the Dunder init check.
This check was previously only running on PRs to master, which makes it annoying to stack PRs and have all the checks run.  Update it so that the check runs on all PRs and on pushes to master.
2025-10-20 12:08:16 -04:00

26 lines
492 B
YAML

name: Verify Dunder __init__.py Files
on:
pull_request:
merge_group:
push:
branches:
- master
jobs:
verify_dunder_init:
name: Verify __init__.py Files
runs-on: ubuntu-latest
steps:
- name: Check out branch
uses: actions/checkout@v5
- name: Ensure git is installed
run: |
sudo apt-get update && sudo apt-get install git
- name: Verify __init__.py files exist
run: |
scripts/verify-dunder-init.sh