Skip to content

+ add swiftlint

+ add swiftlint #20

name: 'Pull Request'
on:
pull_request:
branches:
- "master"
types: [edited, opened, synchronize, reopened]
jobs:
checklist:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Pull Request Checklist Checker
uses: venkatsarvesh/pr-tasks-completed-action@v1.0.0
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Response Status Checklist
if: failure()
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COMMENT_BODY: "# Check List Not Yet Finish ✅!
See more at: ${{ github.event.pull_request.html_url }}/checks
"
PR_NUMBER: ${{ github.event.number }}
run: |
# --edit-last
gh pr comment $PR_NUMBER --body "$COMMENT_BODY" || gh pr comment $PR_NUMBER --body "$COMMENT_BODY"