We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e32148 commit fb1acb1Copy full SHA for fb1acb1
.github/workflows/update-prettier.yml
@@ -0,0 +1,30 @@
1
+name: Update Prettier
2
+on:
3
+ push:
4
+ branches:
5
+ - "dependabot/npm_and_yarn/prettier-*"
6
+ workflow_dispatch: {}
7
+jobs:
8
+ update_prettier:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: actions/checkout@v2
12
+ - uses: actions/setup-node@v2
13
+ with:
14
+ version: 12
15
+ - uses: actions/cache@v1
16
17
+ path: ~/.npm
18
+ key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
19
+ restore-keys: |
20
+ ${{ runner.os }}-node-
21
+ - run: npm ci
22
+ - run: npm run lint:fix
23
+ - uses: gr2m/[email protected]
24
+ env:
25
+ GITHUB_TOKEN: ${{ secrets.OCTOKITBOT_PAT }}
26
27
+ title: "Prettier updated"
28
+ body: "An update to prettier required updates to your code."
29
+ branch: ${{ github.ref }}
30
+ commit-message: "style: prettier"
0 commit comments