Skip to content

Commit

Permalink
[test] 测试ci流程
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarcis-cy committed Jun 25, 2024
1 parent c918a4a commit 2c0e277
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@ jobs:
run: |
FINGER_CHANGED=false
POC_CHANGED=false
git diff --name-only ${{ github.event.before }} ${{ github.sha }} | grep '^finger/' && FINGER_CHANGED=true || true
git diff --name-only ${{ github.event.before }} ${{ github.sha }} | grep '^poc/' && POC_CHANGED=true || true
PREV_SHA=$(git rev-parse HEAD~1)
git diff --name-only $PREV_SHA ${{ github.sha }} | grep '^finger/' && FINGER_CHANGED=true || true
git diff --name-only $PREV_SHA ${{ github.sha }} | grep '^poc/' && POC_CHANGED=true || true
if $FINGER_CHANGED && $POC_CHANGED; then
./xlint_linux_amd64 -f "./finger/*.yml" -f "./poc/*.yml" | tee xlint_output
Expand Down
2 changes: 1 addition & 1 deletion finger/Azure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ manual: false
detail:
fingerprint:
name: Azure
fofa: header="azure-webrole-instance-id"
fofa: header="azure-webrole-instance"
transport: http
rules:
r0:
Expand Down

0 comments on commit 2c0e277

Please sign in to comment.