๐ :: (#236) ์ธ๊ณต์ง๋ฅ์ํํธ์จ์ด๊ฐ๋ฐ๊ณผ -> ์ธ๊ณต์ง๋ฅ์ํํธ์จ์ด๊ณผ #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: auto PR swiftLint | |
on: | |
pull_request: | |
branches: [ develop ] | |
paths: | |
- '.github/workflows/swiftlint.yml' | |
- '.swiftlint.yml' | |
- '**/*.swift' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: GitHub Action for SwiftLint | |
uses: norio-nomura/action-swiftlint@master | |
env: | |
DIFF_BASE: ${{ github.base_ref }} | |
- name: Add PR Comment | |
if: ${{ success() }} | |
uses: mshick/add-pr-comment@v1 | |
with: | |
message: | | |
## All File Checked โ | |
| โ | Auto Pull Request SwiftLint Success!!!! | | |
|--- |---------------------------------------------- | | |
repo-token: ${{ secrets.ACCESS_TOKEN }} | |
repo-token-user-login: 'github-actions[bot]' # The user.login for temporary GitHub tokens | |
allow-repeats: false # This is the default |