Version of the Action
v2.3.0
Describe the bug
I use husky to run lint before commit. An error appear when the action is call, i think is due to the pre commit.
To Reproduce
This my configuration :
name: Build
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: install
run: npm install
- name: build
run: npm run build
- name: Commit changed files
uses: stefanzweifel/[email protected]
with:
commit_message: 📦 Build dist
branch: master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
And i run this during the pre commit :
"lint-staged": {
"{src,test}/**/*.ts": [
"prettier --write",
"git add"
]
},
Expected behavior
Run the pre commit before commit without error.
Screenshots
https://github.com/Kamiapp-fr/kami-collection/runs/322604011

Version of the Action
v2.3.0Describe the bug
I use husky to run lint before commit. An error appear when the action is call, i think is due to the pre commit.
To Reproduce
This my configuration :
And i run this during the pre commit :
Expected behavior
Run the pre commit before commit without error.
Screenshots

https://github.com/Kamiapp-fr/kami-collection/runs/322604011