Skip to content

Commit

Permalink
chore: only specify major versions of GH actions (#11901)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed Sep 28, 2021
1 parent 7b9b6f8 commit 8024306
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/lock.yml
Expand Up @@ -8,19 +8,19 @@ jobs:
lock:
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v2.1.2
- uses: dessant/lock-threads@v3
with:
github-token: ${{ github.token }}
issue-lock-inactive-days: '30'
issue-exclude-labels: 'Discussion'
issue-lock-comment: >
issue-inactive-days: '30'
exclude-any-issue-labels: 'Discussion'
issue-comment: >
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using [StackOverflow](https://stackoverflow.com/questions/tagged/jestjs) or our [discord channel](https://discord.gg/j6FKKQQrW9) for questions.
pr-lock-inactive-days: '30'
pr-lock-comment: >
pr-inactive-days: '30'
pr-comment: >
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using [StackOverflow](https://stackoverflow.com/questions/tagged/jestjs) or our [discord channel](https://discord.gg/j6FKKQQrW9) for questions.
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/nodejs.yml
Expand Up @@ -22,9 +22,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2.3.4
- uses: actions/checkout@v2

- uses: actions/setup-node@v2.4.0
- uses: actions/setup-node@v2
with:
node-version: 14.x
cache: yarn
Expand All @@ -43,8 +43,8 @@ jobs:
needs: prepare-yarn-cache

steps:
- uses: actions/checkout@v2.3.4
- uses: actions/setup-node@v2.4.0
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 12.x
cache: yarn
Expand Down Expand Up @@ -81,9 +81,9 @@ jobs:
git config --global core.autocrlf false
git config --global core.symlinks true
if: runner.os == 'Windows'
- uses: actions/checkout@v2.3.4
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2.4.0
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: yarn
Expand Down Expand Up @@ -113,9 +113,9 @@ jobs:
git config --global core.autocrlf false
git config --global core.symlinks true
if: runner.os == 'Windows'
- uses: actions/checkout@v2.3.4
- uses: actions/checkout@v2
- name: Use Node.js 14.x
uses: actions/setup-node@v2.4.0
uses: actions/setup-node@v2
with:
node-version: 14.x
cache: yarn
Expand Down

0 comments on commit 8024306

Please sign in to comment.