commit:     783983d20df87377a644d6c7779468940fc38554
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 10 14:25:39 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jan 10 15:12:39 2023 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=783983d2

CI: add pre-commit Github Action

Signed-off-by: Sam James <sam <AT> gentoo.org>

 .github/workflows/pre-commit.yml | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml
new file mode 100644
index 000000000..ad71791c0
--- /dev/null
+++ b/.github/workflows/pre-commit.yml
@@ -0,0 +1,14 @@
+name: pre-commit
+
+on:
+  pull_request:
+  push:
+    branches: [main]
+
+jobs:
+  pre-commit:
+    runs-on: ubuntu-latest
+    steps:
+    - uses: actions/checkout@v3
+    - uses: actions/setup-python@v4
+    - uses: pre-commit/[email protected]

Reply via email to