Переглянути джерело

Document update: Checkout PR head sha (#102)

Riddhesh Sanghvi 5 роки тому
батько
коміт
cab31617d8
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      README.md

+ 1 - 1
README.md

@@ -89,7 +89,7 @@ Refer [here](https://github.com/actions/checkout/blob/v1/README.md) for previous
 ```yaml
 - uses: actions/checkout@v2-beta
   with:
-    ref: ${{ github.event.after }}
+    ref: ${{ github.event.pull_request.head.sha }}
 ```
 
 # License