File tree Expand file tree Collapse file tree 4 files changed +24
-17
lines changed Expand file tree Collapse file tree 4 files changed +24
-17
lines changed Original file line number Diff line number Diff line change 66
77version : 2
88updates :
9- - package-ecosystem : " devcontainers"
10- directory : " /"
11- schedule :
12- interval : weekly
9+ - package-ecosystem : " devcontainers"
10+ directory : " /"
11+ schedule :
12+ interval : weekly
Original file line number Diff line number Diff line change @@ -3,6 +3,10 @@ name: 👔 Format
33on :
44 workflow_dispatch : null
55
6+ permissions :
7+ contents : write
8+ pull-requests : write
9+
610jobs :
711 format :
812 runs-on : ubuntu-latest
1620 run : npm i -f
1721 - name : Format
1822 run : npm run format
19- - name : Commit
20- run : |
21- git config --local user.email "github-actions[bot]@users.noreply.github.com"
22- git config --local user.name "github-actions[bot]"
23-
24- git add .
25- if [ -z "$(git status --porcelain)" ]; then
26- echo "no formatting changed"
27- exit 0
28- fi
29- git commit -m "chore: format"
30- git push
31- echo "pushed formatting changes https://github.com/$GITHUB_REPOSITORY/commit/$(git rev-parse HEAD)"
23+ - uses : peter-evans/create-pull-request@v7
24+ with :
25+ commit-message : Format
26+ branch : format
27+ branch-suffix : timestamp
28+ title : Format
Original file line number Diff line number Diff line change 1+ {
2+ "bot" : {
3+ "issues" : {
4+ "enabled" : false
5+ }
6+ }
7+ }
Original file line number Diff line number Diff line change 1+ {
2+ "startCommand": "npm run watch"
3+ }
You can’t perform that action at this time.
0 commit comments