π :: (#1328) μ€νμμ€ λΌμ΄μΌμ€ νμ΄μ§ λ°μ΄ν°κ° λ ΈμΆλμ§ μμ #1439
Workflow file for this run
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: SwiftLint | |
on: | |
pull_request: | |
paths: | |
- ".github/workflows/SwiftLint.yml" | |
- ".swiftlint.yml" | |
- "**/*.swift" | |
jobs: | |
swiftlint: | |
runs-on: ubuntu-latest | |
permissions: | |
pull-requests: write | |
steps: | |
- uses: actions/checkout@v3 | |
- name: GitHub Action for SwiftLint | |
uses: norio-nomura/action-swiftlint@3.2.1 | |
- name: Comment success result to PR | |
uses: mshick/add-pr-comment@v2 | |
if: ${{ success() }} | |
with: | |
message: "## β Successful finished SwiftLint" | |
- name: Comment failure result ot PR | |
uses: mshick/add-pr-comment@v2 | |
if: ${{ failure() }} | |
with: | |
message: "## β Error detected on SwiftLint" |