Skip to content

Commit bff6952

Browse files
committed
feat: add example for autofix.ci
1 parent e248920 commit bff6952

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

examples/autofix.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# --------------------------------------------------------------------------
2+
# autofix.ci Workflow
3+
#
4+
# Automatically fixes linting and formatting issues in pull requests by calling
5+
# a shared workflow.
6+
#
7+
# Requirements:
8+
# 1. This workflow name must be `autofix.ci`.
9+
# 2. The autofix.ci GitHub App must be installed on this repository.
10+
# Installation link: https://github.com/marketplace/autofix-ci
11+
# --------------------------------------------------------------------------
12+
13+
name: autofix.ci
14+
15+
on:
16+
pull_request:
17+
push:
18+
branches:
19+
- main
20+
21+
jobs:
22+
autofix:
23+
uses: zotero-plugin-dev/workflows/.github/workflows/autofix.yml@main
24+
permissions:
25+
contents: read
26+
27+
# Optional: To override the default command defined in the reusable workflow,
28+
# uncomment the 'with' block below and specify your custom command.
29+
# with:
30+
# command: 'pnpm lint:fix'

0 commit comments

Comments
 (0)