Skip to content

Commit ab88eaa

Browse files
author
Takahisa Iwamoto
committed
ci: pin GitHub Actions to commit hashes via pinact
1 parent ff9bc39 commit ab88eaa

4 files changed

Lines changed: 13 additions & 13 deletions

File tree

.github/workflows/build.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ jobs:
4848
torchvision: 0.10.0
4949
mmcv: 1.9.0
5050
steps:
51-
- uses: actions/checkout@v2
51+
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
5252
- name: Set up Python ${{ matrix.python-version }}
53-
uses: actions/setup-python@v2
53+
uses: actions/setup-python@e9aba2c848f5ebd159c070c61ea2c4e2b122355e # v2.3.4
5454
with:
5555
python-version: ${{ matrix.python-version }}
5656
- name: Install Pillow
@@ -109,9 +109,9 @@ jobs:
109109
mmcv: 1.8.0
110110

111111
steps:
112-
- uses: actions/checkout@v2
112+
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
113113
- name: Set up Python ${{ matrix.python-version }}
114-
uses: actions/setup-python@v2
114+
uses: actions/setup-python@e9aba2c848f5ebd159c070c61ea2c4e2b122355e # v2.3.4
115115
with:
116116
python-version: ${{ matrix.python-version }}
117117
- name: Install system dependencies
@@ -147,7 +147,7 @@ jobs:
147147
coverage xml
148148
coverage report -m
149149
- name: Upload coverage to Codecov
150-
uses: codecov/codecov-action@v1.0.10
150+
uses: codecov/codecov-action@f3570723ef743f6942b6a480461ed0cd6c0f9baa # v1.0.10
151151
with:
152152
file: ./coverage.xml
153153
flags: unittests
@@ -171,9 +171,9 @@ jobs:
171171
mmcv: 1.9.0
172172

173173
steps:
174-
- uses: actions/checkout@v2
174+
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
175175
- name: Set up Python ${{ matrix.python-version }}
176-
uses: actions/setup-python@v2
176+
uses: actions/setup-python@e9aba2c848f5ebd159c070c61ea2c4e2b122355e # v2.3.4
177177
with:
178178
python-version: ${{ matrix.python-version }}
179179
# Add ppa source repo for python3.9.
@@ -220,7 +220,7 @@ jobs:
220220
coverage xml
221221
coverage report -m
222222
- name: Upload coverage to Codecov
223-
uses: codecov/codecov-action@v2
223+
uses: codecov/codecov-action@f32b3a3741e1053eb607407145bc9619351dc93b # v2.1.0
224224
with:
225225
files: ./coverage.xml
226226
flags: unittests

.github/workflows/build_pat.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
password: ${{ secrets.CR_PAT }}
1717

1818
steps:
19-
- uses: actions/checkout@v2
19+
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
2020
- name: Install mmdet dependencies
2121
run: |
2222
git clone https://github.com/open-mmlab/mmcv.git && cd mmcv

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ jobs:
1111
runs-on: ubuntu-latest
1212
if: startsWith(github.event.ref, 'refs/tags')
1313
steps:
14-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
1515
- name: Set up Python 3.7
16-
uses: actions/setup-python@v2
16+
uses: actions/setup-python@e9aba2c848f5ebd159c070c61ea2c4e2b122355e # v2.3.4
1717
with:
1818
python-version: 3.7
1919
- name: Install torch

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ jobs:
1010
lint:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v2
13+
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
1414
- name: Set up Python 3.7
15-
uses: actions/setup-python@v2
15+
uses: actions/setup-python@e9aba2c848f5ebd159c070c61ea2c4e2b122355e # v2.3.4
1616
with:
1717
python-version: 3.7
1818
- name: Install pre-commit hook

0 commit comments

Comments
 (0)