aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/ban-imports.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/ban-imports.yaml')
-rw-r--r--.github/workflows/ban-imports.yaml14
1 files changed, 14 insertions, 0 deletions
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