summaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorMike Frysinger <vapier@google.com>2026-01-06 00:32:25 -0500
committerLUCI <gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com>2026-01-06 11:00:32 -0800
commit4525c2e0ad991d067559faa78e82634e060fe337 (patch)
treea52fd4eede86df8ada9e189d9dbb462618bf8186 /.github/workflows
parent45dcd738b7a5ad7fc8f4046a8a9439317b63f5a5 (diff)
downloadgit-repo-4525c2e0ad991d067559faa78e82634e060fe337.tar.gz
github: add black check action
Change-Id: Ic87c1c5c72fb8a01108146c1f9d78466acb57278 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/540021 Tested-by: Mike Frysinger <vapier@google.com> Commit-Queue: Mike Frysinger <vapier@google.com> Reviewed-by: Gavin Mak <gavinmak@google.com>
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/black.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/.github/workflows/black.yml b/.github/workflows/black.yml
new file mode 100644
index 000000000..9fd5de462
--- /dev/null
+++ b/.github/workflows/black.yml
@@ -0,0 +1,16 @@
1# GitHub actions workflow.
2# https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions
3# https://black.readthedocs.io/en/stable/integrations/github_actions.html
4
5name: Format
6
7on:
8 push:
9 branches: [main]
10
11jobs:
12 format:
13 runs-on: ubuntu-latest
14 steps:
15 - uses: actions/checkout@v5
16 - uses: psf/black@stable