We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 654bdf3 commit c422961Copy full SHA for c422961
.github/workflows/js.yml
@@ -7,8 +7,6 @@ jobs:
7
contents: write
8
steps:
9
- uses: actions/checkout@v4
10
- with:
11
- fetch-depth: 2
12
- uses: oven-sh/setup-bun@v2
13
- run: bun install
14
@@ -23,8 +21,9 @@ jobs:
23
21
- name: fix
24
22
if: failure() && github.event_name == 'pull_request'
25
run: |
+ git switch ${{ github.event.pull_request.head.ref }}
26
bun lint --fix
27
git config user.name "github-actions[bot]"
28
git config user.email "github-actions[bot]@users.noreply.github.com"
29
git commit --all -m "fix: auto-fix eslint errors"
30
- git push origin HEAD:refs/heads/${{ github.head_ref }}
+ git push
0 commit comments