Skip to content

Commit 28b3ec8

Browse files
authored
Merge pull request #317 from Team-return/feature/(#313)-interest_refact
🔗 :: swiftlint.yml 수정
2 parents cd91dc2 + 1a77eb3 commit 28b3ec8

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

.github/workflows/swiftlint.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,14 @@ on:
1010

1111
jobs:
1212
build:
13-
1413
runs-on: ubuntu-latest
1514

1615
steps:
17-
- uses: actions/checkout@v1
16+
- name: Checkout PR branch (head)
17+
uses: actions/checkout@v3
18+
with:
19+
ref: refs/pull/${{ github.event.pull_request.number }}/head
20+
1821
- name: GitHub Action for SwiftLint
1922
uses: norio-nomura/action-swiftlint@master
2023
env:
@@ -25,9 +28,9 @@ jobs:
2528
uses: mshick/add-pr-comment@v1
2629
with:
2730
message: |
28-
## All File Checked ✅
29-
| ✅ | Auto Pull Request SwiftLint Success!!!! |
30-
|--- |---------------------------------------------- |
31+
## All File Checked ✅
32+
| ✅ | Auto Pull Request SwiftLint Success!!!! |
33+
|--- |---------------------------------------------- |
3134
repo-token: ${{ secrets.ACCESS_TOKEN }}
32-
repo-token-user-login: 'github-actions[bot]' # The user.login for temporary GitHub tokens
33-
allow-repeats: false # This is the default
35+
repo-token-user-login: 'github-actions[bot]'
36+
allow-repeats: false

0 commit comments

Comments
 (0)