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 c36b046 commit d87a05eCopy full SHA for d87a05e
.github/workflows/format.yml
@@ -3,18 +3,20 @@ on:
3
pull_request:
4
jobs:
5
format:
6
- name: Format docs
+ name: Format
7
runs-on: ubuntu-latest
8
steps:
9
- name: Checkout
10
uses: actions/checkout@v2
11
+ with:
12
+ ref: ${{ github.head_ref }}
13
- name: Install
14
uses: bahmutov/npm-install@v1
15
- name: Generate TOC
16
run: npm run toc
17
- name: Commit changes
- run: |
- git config --global user.name 'Denys Dovhan'
18
- git config --global user.email '[email protected]'
19
- git commit -am "Update TOC"
20
- git push
+ uses: stefanzweifel/git-auto-commit-action@v4
+ commit_message: Update TOC
21
+ env:
22
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments