File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5757 steps :
5858 - name : Git Checkout
5959 uses : actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
60+ with :
61+ # By default Git Checkout on `pull-request-target` will checkout
62+ # the `default` branch of the Pull Request. We want to checkout
63+ # the actual branch of the Pull Request.
64+ ref : ${{ github.event.pull_request.head.ref }}
6065
6166 - name : Restore Lint Cache
6267 uses : actions/cache/restore@704facf57e6136b1bc63b828d79edcd491f0ee84
Original file line number Diff line number Diff line change 11#! /usr/bin/env sh
22. " $( dirname -- " $0 " ) /_/husky.sh"
33
4- DIR=$( cd ` dirname $0 ` && pwd -P)
5-
64# if the generated files got tracked to this commit we revert them
7- git reset $DIR /../ public/node-releases-data.json
8- git reset $DIR /../ public/blog-posts-data.json
5+ git reset public/node-releases-data.json
6+ git reset public/blog-posts-data.json
97
108# lint and format staged files
119npx lint-staged
You can’t perform that action at this time.
0 commit comments