Skip to content

Commit

Permalink
fix: pin GitHub Action versions (#612)
Browse files Browse the repository at this point in the history
Co-authored-by: Eunjae Lee <[email protected]>
  • Loading branch information
2 people authored and Eunjae Lee committed Jan 14, 2020
1 parent 25fc1b1 commit b5e576a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/shipjs/src/step/setup/CI/addGitHubActions.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,10 @@ jobs:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v2
with:
ref: <%= releaseBranch %>
- uses: actions/setup-node@master
- uses: actions/setup-node@v1
with:
registry-url: "https://registry.npmjs.org"
- run: |
Expand Down Expand Up @@ -136,11 +136,11 @@ jobs:
startsWith(github.event.comment.body, '@shipjs prepare')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v2
with:
fetch-depth: 0
ref: <%= baseBranch %>
- uses: actions/setup-node@master
- uses: actions/setup-node@v1
- run: |
if [ -f "yarn.lock" ]; then
yarn install
Expand Down Expand Up @@ -197,11 +197,11 @@ jobs:
schedule_prepare:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v2
with:
fetch-depth: 0
ref: <%= baseBranch %>
- uses: actions/setup-node@master
- uses: actions/setup-node@v1
- run: |
if [ -f "yarn.lock" ]; then
yarn install
Expand Down

0 comments on commit b5e576a

Please sign in to comment.