ci: pin actions/checkout to v2 (#541)

This commit is contained in:
Shohei Ueda 2020-11-23 21:43:45 +09:00 committed by GitHub
parent 3ba244e8d4
commit 6c2db6e184
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View File

@ -33,7 +33,7 @@ jobs:
runs-on: ubuntu-18.04 runs-on: ubuntu-18.04
if: contains(github.event.head_commit.message, '[skip ci]') == false if: contains(github.event.head_commit.message, '[skip ci]') == false
steps: steps:
- uses: actions/checkout@v2.3.1 - uses: actions/checkout@v2
- name: Login to Packages - name: Login to Packages
run: echo '${{ secrets.GITHUB_TOKEN }}' | docker login 'docker.pkg.github.com' -u 'peaceiris' --password-stdin run: echo '${{ secrets.GITHUB_TOKEN }}' | docker login 'docker.pkg.github.com' -u 'peaceiris' --password-stdin
- run: docker-compose pull --quiet - run: docker-compose pull --quiet

View File

@ -9,7 +9,7 @@ jobs:
release: release:
runs-on: ubuntu-18.04 runs-on: ubuntu-18.04
steps: steps:
- uses: actions/checkout@v2.3.1 - uses: actions/checkout@v2
- uses: peaceiris/workflows/create-release-npm@v0.7.0 - uses: peaceiris/workflows/create-release-npm@v0.7.0
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@ -22,7 +22,7 @@ jobs:
- 'macos-latest' - 'macos-latest'
- 'windows-latest' - 'windows-latest'
steps: steps:
- uses: actions/checkout@v2.3.1 - uses: actions/checkout@v2
- name: Dump GitHub context - name: Dump GitHub context
env: env:

View File

@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-18.04 runs-on: ubuntu-18.04
steps: steps:
- uses: actions/checkout@v2.3.1 - uses: actions/checkout@v2
- name: Update major tag - name: Update major tag
if: github.event.release.prerelease == false if: github.event.release.prerelease == false