File tree Expand file tree Collapse file tree 2 files changed +38
-0
lines changed
dpub-aria/.github/workflows Expand file tree Collapse file tree 2 files changed +38
-0
lines changed Original file line number Diff line number Diff line change 1+ # Set update schedule for GitHub Actions
2+
3+ version : 2
4+ updates :
5+
6+ - package-ecosystem : " github-actions"
7+ directory : " /"
8+ schedule :
9+ interval : " weekly"
10+ open-pull-requests-limit : 10
11+ commit-message :
12+ prefix : " chore: dependabot"
Original file line number Diff line number Diff line change 1+ name : Prettier
2+ # minimally modified from https://github.com/creyD/prettier_action#example-2-using-the-only_changed-or-same_commit-option-on-pr
3+
4+ on :
5+ pull_request :
6+ branches :
7+ - main
8+
9+ jobs :
10+ prettier :
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ - name : Checkout
15+ uses : actions/checkout@v3
16+ with :
17+ # Make sure the actual branch is checked out when running on pull requests
18+ ref : ${{ github.head_ref }}
19+ # This is important to fetch the changes to the previous commit
20+ fetch-depth : 0
21+
22+ - name : Prettify code
23+ 24+ with :
25+ prettier_options : --write *.html --print-width 200
26+ commit_message : " chore: prettier"
You can’t perform that action at this time.
0 commit comments