Skip to content

Commit ed0277e

Browse files
Pin GitHub Actions to full-length commit SHAs (#1103)
1 parent 35e7c56 commit ed0277e

5 files changed

Lines changed: 21 additions & 10 deletions

File tree

.github/dependabot.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
groups:
6+
github-actions:
7+
patterns: ["*"]
8+
schedule:
9+
interval: "weekly"
10+
cooldown:
11+
default-days: 7

.github/workflows/gradle-wrapper-validation.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ jobs:
1010
name: "Validation"
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v3
14-
- uses: gradle/wrapper-validation-action@v2
13+
- uses: actions/checkout@a37ce9120846195fa4ece8f58b268e6043cb2f26 # v3.7.0
14+
- uses: gradle/wrapper-validation-action@b5418f5a58f5fd2eb486dd7efb368fe7be7eae45 # v2.1.3

.github/workflows/linux_arm64_wheel.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,18 @@ jobs:
1616
python_version: ['3.7', '3.8', '3.9', '3.10', '3.11']
1717
steps:
1818
- name: Checkout repository
19-
uses: actions/checkout@v3
19+
uses: actions/checkout@a37ce9120846195fa4ece8f58b268e6043cb2f26 # v3.7.0
2020

2121
- name: Setup Python
22-
uses: actions/setup-python@v4
22+
uses: actions/setup-python@7f4fc3e22c37d6ff65e88745f38bd3157c663f7c # v4.9.1
2323
with:
2424
python-version: ${{ matrix.python_version }}
2525

2626
- name: Set up QEMU
27-
uses: docker/setup-qemu-action@v2
27+
uses: docker/setup-qemu-action@2b82ce82d56a2a04d2637cd93a637ae1b359c0a7 # v2.2.0
2828

2929
- name: Set up Docker Buildx
30-
uses: docker/setup-buildx-action@v2
30+
uses: docker/setup-buildx-action@885d1462b80bc1c1c7f0b00334ad271f09369c55 # v2.10.0
3131

3232
- name: Create wheels linux aarch64
3333
run: |
@@ -39,7 +39,7 @@ jobs:
3939
python -m cibuildwheel --platform linux --archs aarch64 --output-dir ./out
4040
4141
- name: Upload artifact
42-
uses: actions/upload-artifact@v2
42+
uses: actions/upload-artifact@82c141cc518b40d92cc801eee768e7aafc9c2fa2 # v2.3.1
4343
with:
4444
name: wheels
4545
path: ./out

.github/workflows/publish-python-apidocs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
name: Generate Python API docs
2525
runs-on: ubuntu-latest
2626
steps:
27-
- uses: actions/checkout@v3
27+
- uses: actions/checkout@a37ce9120846195fa4ece8f58b268e6043cb2f26 # v3.7.0
2828
- name: Install tools
2929
run: |
3030
sudo apt-get update
@@ -51,7 +51,7 @@ jobs:
5151
mkdir -p _site/docs/api/
5252
mv sphinx_output/docs/extensions/html _site/docs/api/python
5353
- name: Upload docs artifact
54-
uses: actions/upload-artifact@v3
54+
uses: actions/upload-artifact@ff15f0306b3f739f7b6fd43fb5d26cd321bd4de5 # v3.2.1
5555
with:
5656
name: onnxruntime-extensions-python-apidocs
5757
path: _site

.github/workflows/stale-issue-handler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
issues: write
1414
pull-requests: write
1515
steps:
16-
- uses: actions/stale@v8
16+
- uses: actions/stale@1160a2240286f5da8ec72b1c0816ce2481aabf84 # v8.0.0
1717
with:
1818
# Comma separated list of labels that can be assigned to issues to exclude them from being marked as stale
1919
exempt-issue-labels: contributions welcome, feature request, regression

0 commit comments

Comments
 (0)