Scheduling infrastructure for absolutely everyone.
Update lint.yml (#2211)
Omar López91f13122eb19
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.ymlindex 78c3db092c9..b190c39fcf2 100644--- a/.github/workflows/lint.yml+++ b/.github/workflows/lint.yml@@ -1,6 +1,6 @@name: Linton:- pull_request:+ pull_request_target:branches:- mainjobs:@@ -8,9 +8,11 @@ jobs:runs-on: ubuntu-lateststeps:- - uses: actions/checkout@v2+ - name: Checkout repo+ uses: actions/checkout@v2with:- fetch-depth: 0+ ref: ${{ github.event.pull_request.head.sha }}+ fetch-depth: 2- name: Use Node.js 14.xuses: actions/setup-node@v2