From bc501f4eae427ce4ad07b6d78ac9f1f7764ccdb6 Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Sat, 11 Nov 2023 21:37:23 +0100 Subject: Add banned imports (#924) --- .github/workflows/ban-imports.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/ban-imports.yaml (limited to '.github/workflows/ban-imports.yaml') diff --git a/.github/workflows/ban-imports.yaml b/.github/workflows/ban-imports.yaml new file mode 100644 index 00000000..73d71093 --- /dev/null +++ b/.github/workflows/ban-imports.yaml @@ -0,0 +1,14 @@ +name: Check banned imports +on: + - pull_request + - push + - workflow_dispatch +permissions: {} +jobs: + check-imports: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + name: Checkout code + - name: Check imports + run: .github/workflows/ban-imports.sh -- cgit