We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb3569b commit 47eea8cCopy full SHA for 47eea8c
.github/workflows/test.yaml
@@ -5,8 +5,10 @@ on:
5
branches:
6
- main
7
jobs:
8
- run_comfy_pr:
+ comfy_pr_test:
9
runs-on: ubuntu-latest
10
+ permissions:
11
+ contents: write
12
timeout-minutes: 10
13
steps:
14
- uses: actions/checkout@v4
@@ -30,6 +32,17 @@ jobs:
30
32
# setup comfy-pr
31
33
# Run Comfy-PR Tests
34
- run: bun i
35
+ - run: bunx oxlint --fix
36
+ - run: bunx oxfmt --write
37
+ - name: Commit lint/format fixes
38
+ run: |
39
+ git config user.name "github-actions[bot]"
40
+ git config user.email "github-actions[bot]@users.noreply.github.com"
41
+ if ! git diff --quiet; then
42
+ git add -A
43
+ git commit -m "style: auto-fix lint and formatting"
44
+ git push
45
+ fi
46
- run: bun test
47
timeout-minutes: 8
48
env:
0 commit comments