aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/ban-imports.yaml
diff options
context:
space:
mode:
authorLinnea Gräf <roman.graef@gmail.com>2023-11-11 21:37:23 +0100
committerGitHub <noreply@github.com>2023-11-11 21:37:23 +0100
commitbc501f4eae427ce4ad07b6d78ac9f1f7764ccdb6 (patch)
tree629f1e6be7854b176ef4d0ea35d6a1c7309fcd74 /.github/workflows/ban-imports.yaml
parentf43e45e79d91e15e787545efb8421814318ba2b6 (diff)
downloadNotEnoughUpdates-bc501f4eae427ce4ad07b6d78ac9f1f7764ccdb6.tar.gz
NotEnoughUpdates-bc501f4eae427ce4ad07b6d78ac9f1f7764ccdb6.tar.bz2
NotEnoughUpdates-bc501f4eae427ce4ad07b6d78ac9f1f7764ccdb6.zip
Add banned imports (#924)
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