diff --git a/.github/workflows/commitlint.yml b/.github/workflows/commitlint.yml index 0775bd9..170f807 100644 --- a/.github/workflows/commitlint.yml +++ b/.github/workflows/commitlint.yml @@ -14,7 +14,7 @@ jobs: if: ${{ (github.event_name == 'push') || (github.event_name == 'pull_request_review' && github.event.review.state == 'approved' && (github.event.review.author_association == 'COLLABORATOR' || github.event.review.author_association == 'MEMBER' || github.event.review.author_association == 'OWNER') && !github.event.pull_request.draft && github.event.pull_request.state == 'open') }} runs-on: 'ubuntu-latest' steps: - - uses: 'actions/checkout@v2' + - uses: 'actions/checkout@v2.3.4' with: fetch-depth: 0 - uses: 'wagoid/commitlint-github-action@v3.1.3' diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 1158149..693628c 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -17,7 +17,7 @@ jobs: matrix: node-version: [14.x] steps: - - uses: 'actions/checkout@v2' + - uses: 'actions/checkout@v2.3.4' - name: Use Node.js ${{ matrix.node-version }} uses: 'actions/setup-node@v2.1.5' diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 9c3eaf0..32617ed 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -10,7 +10,7 @@ jobs: publish-npm: runs-on: 'ubuntu-latest' steps: - - uses: 'actions/checkout@v2' + - uses: 'actions/checkout@v2.3.4' - name: Use Node.js ${{ matrix.node-version }} uses: 'actions/setup-node@v2.1.5'