Skip to content

Commit 97861d4

Browse files
committed
updated checkout-task in github-workflow
1 parent dc4ede0 commit 97861d4

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/autolint.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,8 @@ jobs:
1818
steps:
1919
- name: Checkout
2020
uses: actions/checkout@v3
21-
22-
- name: Switch to Current Branch
23-
run: git checkout ${{ env.BRANCH }}
24-
shell: bash
21+
with:
22+
ref: ${{ github.ref }}
2523

2624
- name: Install python
2725
uses: actions/setup-python@v4

0 commit comments

Comments
 (0)