mik-laj commented on a change in pull request #31104:
URL: https://github.com/apache/spark/pull/31104#discussion_r554445165



##########
File path: .github/workflows/build_and_test.yml
##########
@@ -89,6 +89,14 @@ jobs:
       # In order to fetch changed files
       with:
         fetch-depth: 0
+    - uses: actions/checkout@v2
+      name: checkout n1hility/cancel-previous-runs
+      with:
+        repository: n1hility/cancel-previous-runs
+        path: ./build/.actions/n1hility/cancel-previous-runs
+        ref: 953c92201f368370112ea2754545cb4468d89f12 # v2
+        fetch-depth: 1
+    - uses: ./build/.actions/n1hility/cancel-previous-runs

Review comment:
       This token is not needed. ;-) Each action gets a token by default in a 
input named "token". The action/checkout works the same way. See: 
https://github.com/actions/checkout/blob/c952173edf28a2bd22e1a4926590c1ac39630461/src/input-helper.ts#L109




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to