Browse Source

Fix diagnose script to match post script

Erwan MATHIEU 9 months ago
parent
commit
f4349be84a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .github/workflows/printer-linter-pr-diagnose.yml

+ 1 - 1
.github/workflows/printer-linter-pr-diagnose.yml

@@ -53,7 +53,7 @@ jobs:
         run: |
           echo ${{ github.event.number }} > printer-linter-result/pr-id.txt
           echo ${{ github.event.pull_request.head.repo.full_name }} > printer-linter-result/pr-head-repo.txt
-          echo ${{ github.event.pull_request.head.ref }} > printer-linter-result/pr-head-ref.txt
+          echo ${{ github.event.pull_request.head.sha }} > printer-linter-result/pr-head-sha.txt
 
       - uses: actions/upload-artifact@v2
         with: