mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 13:58:47 +00:00
Pin actions/checkout github action to a hash instead of a version for increased security (#1179)
This commit is contained in:
4
.github/workflows/beta.yml
vendored
4
.github/workflows/beta.yml
vendored
@@ -41,7 +41,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: github.repository == 'flutter/samples'
|
if: github.repository == 'flutter/samples'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@d171c3b028d844f2bf14e9fdec0c58114451e4bf
|
||||||
- uses: actions/setup-java@4fe61d24fe5472910b93bdeffb8aad49f979d862
|
- uses: actions/setup-java@4fe61d24fe5472910b93bdeffb8aad49f979d862
|
||||||
with:
|
with:
|
||||||
distribution: 'zulu'
|
distribution: 'zulu'
|
||||||
@@ -56,7 +56,7 @@ jobs:
|
|||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
if: github.repository == 'flutter/samples'
|
if: github.repository == 'flutter/samples'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@d171c3b028d844f2bf14e9fdec0c58114451e4bf
|
||||||
- uses: actions/setup-java@4fe61d24fe5472910b93bdeffb8aad49f979d862
|
- uses: actions/setup-java@4fe61d24fe5472910b93bdeffb8aad49f979d862
|
||||||
with:
|
with:
|
||||||
distribution: 'zulu'
|
distribution: 'zulu'
|
||||||
|
|||||||
2
.github/workflows/gh-pages.yml
vendored
2
.github/workflows/gh-pages.yml
vendored
@@ -16,7 +16,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@d171c3b028d844f2bf14e9fdec0c58114451e4bf
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|||||||
2
.github/workflows/verify-web-demos.yml
vendored
2
.github/workflows/verify-web-demos.yml
vendored
@@ -10,7 +10,7 @@ jobs:
|
|||||||
if: github.repository == 'flutter/samples'
|
if: github.repository == 'flutter/samples'
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@d171c3b028d844f2bf14e9fdec0c58114451e4bf
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|||||||
Reference in New Issue
Block a user