Skip to content

Commit dad15b3

Browse files
committed
Add prettier workflow
1 parent 7855ea0 commit dad15b3

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

.github/dependabot.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://docs.github.com/en/code-security/dependabot/working-with-dependabot/dependabot-options-reference
5+
6+
version: 2
7+
updates:
8+
- package-ecosystem: "github-actions"
9+
directory: "/"
10+
schedule:
11+
interval: "weekly"

.github/workflows/pre-commit.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Run pre-commit hooks
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- main
8+
workflow_dispatch:
9+
10+
jobs:
11+
run-hooks:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout Repo ⚡️
15+
uses: actions/checkout@v4
16+
- name: Set Up Python 🐍
17+
uses: actions/setup-python@v5
18+
with:
19+
python-version: 3.x
20+
- name: Install pre-commit 📦
21+
run: |
22+
pip install --upgrade pip
23+
pip install --upgrade pre-commit
24+
- name: Run pre-commit ✅
25+
run: pre-commit run --all-files

0 commit comments

Comments
 (0)