Skip to content
This repository was archived by the owner on Oct 29, 2022. It is now read-only.

Commit 16426f0

Browse files
committed
Move head_ref to checkout action per devops-infra/action-commit-push#47 (comment)
1 parent f188adb commit 16426f0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/lint.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v3
13+
with:
14+
ref: ${{ github.head_ref }}
1315

1416
- uses: actions/setup-python@v4
1517
with:
@@ -28,4 +30,3 @@ jobs:
2830
with:
2931
commit_message: Autoformat
3032
github_token: ${{ secrets.GITHUB_TOKEN }}
31-
target_branch: ${{ github.head_ref }}

0 commit comments

Comments
 (0)