chore: fix action lint errors

This commit is contained in:
tanzhenxin
2025-08-22 12:00:10 +08:00
parent 0f3db5275f
commit af0439165a
6 changed files with 28 additions and 14 deletions

View File

@@ -55,7 +55,8 @@ jobs:
- name: 'Get PR details (pull_request_target & workflow_dispatch)'
id: 'get_pr'
if: 'github.event_name == "pull_request_target" || github.event_name == "workflow_dispatch"'
if: |-
${{ github.event_name == 'pull_request_target' || github.event_name == 'workflow_dispatch' }}
env:
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
run: |
@@ -76,7 +77,8 @@ jobs:
- name: 'Get PR details (issue_comment)'
id: 'get_pr_comment'
if: 'github.event_name == "issue_comment"'
if: |-
${{ github.event_name == 'issue_comment' }}
env:
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
COMMENT_BODY: '${{ github.event.comment.body }}'