Skip to content

Commit b58d225

Browse files
authored
Create polish-the-code.yml
1 parent cf17db2 commit b58d225

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
name: Polish the code
3+
4+
on:
5+
push:
6+
branches-ignore:
7+
# notest branches to ignore testing of partial online commits
8+
- "notest/**"
9+
10+
pull_request:
11+
branches-ignore:
12+
# notest branches to ignore testing of partial online commits
13+
- "notest/**"
14+
15+
permissions:
16+
# only prettier-fix needs write permission, for others read is enough
17+
contents: read
18+
19+
jobs:
20+
prettier-fix:
21+
# Note: runs-on doesn't accept all expressions, so a string is used
22+
runs-on: "ubuntu-24.04"
23+
permissions:
24+
contents: write
25+
# Limit the running time
26+
timeout-minutes: 10
27+
steps:
28+
- name: Invoke the Prettier fix
29+
uses: WorkOfStan/prettier-fix@v1.1.0
30+
with:
31+
commit-changes: true
32+
33+
super-linter:
34+
needs: prettier-fix
35+
uses: WorkOfStan/seablast-actions/.github/workflows/linter.yml@feature/fetch-latest
36+
with:
37+
runs-on: "ubuntu-24.04"

0 commit comments

Comments
 (0)