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

Commit 1bfa766

Browse files
committed
Explicitly set target branch to head_ref
1 parent 5f97bc1 commit 1bfa766

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/lint.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v3
13+
1314
- uses: actions/setup-python@v4
1415
with:
1516
python-version: '3.10'
@@ -25,5 +26,6 @@ jobs:
2526
if: always() && (steps.pre-commit.outcome == 'failure') && (github.event_name == 'pull_request')
2627
uses: devops-infra/[email protected]
2728
with:
28-
github_token: ${{ secrets.GITHUB_TOKEN }}
2929
commit_message: Autoformat
30+
github_token: ${{ secrets.GITHUB_TOKEN }}
31+
target_branch: ${{ github.head_ref }}

0 commit comments

Comments
 (0)