Skip to content

Commit 44f3f43

Browse files
Pin GitHub Actions to full-length commit SHAs
1 parent d109f0d commit 44f3f43

6 files changed

Lines changed: 20 additions & 9 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/clang_format.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ jobs:
55
name: Formatting Check
66
runs-on: ubuntu-latest
77
steps:
8-
- uses: actions/checkout@v3
8+
- uses: actions/checkout@a37ce9120846195fa4ece8f58b268e6043cb2f26 # v3.7.0
99
- name: Run clang-format style check for C/C++ programs.
10-
uses: jidicula/clang-format-action@v4.4.1
10+
uses: jidicula/clang-format-action@aecc1901f080e23c1bab6ccb1b2daa8d50eda274 # v4.4.1
1111
with:
1212
clang-format-version: '11'
1313
check-path: '.'

‎.github/workflows/test_docs.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ jobs:
88
runs-on: ubuntu-latest
99

1010
steps:
11-
- uses: actions/checkout@v3
11+
- uses: actions/checkout@a37ce9120846195fa4ece8f58b268e6043cb2f26 # v3.7.0
1212

1313
- name: Setup Python
14-
uses: actions/setup-python@v4
14+
uses: actions/setup-python@7f4fc3e22c37d6ff65e88745f38bd3157c663f7c # v4.9.1
1515
with:
1616
python-version: '3.7'
1717
architecture: 'x64'
@@ -39,7 +39,7 @@ jobs:
3939

4040
# Only on commits to 'main' branch
4141
- name: Deploy
42-
uses: peaceiris/actions-gh-pages@v3
42+
uses: peaceiris/actions-gh-pages@373f7f263a76c20808c831209c920827a82a2847 # v3.9.3
4343
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
4444
with:
4545
github_token: ${{ secrets.GITHUB_TOKEN }}

‎.github/workflows/test_macos.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212

1313
# Steps represent a sequence of tasks that will be executed as part of the job
1414
steps:
15-
- uses: actions/checkout@v3
15+
- uses: actions/checkout@a37ce9120846195fa4ece8f58b268e6043cb2f26 # v3.7.0
1616

1717
- name: Setup
1818
run: ./setup.sh

‎.github/workflows/test_ubuntu.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
os: [ubuntu-18.04, ubuntu-20.04]
1212

1313
steps:
14-
- uses: actions/checkout@v3
14+
- uses: actions/checkout@a37ce9120846195fa4ece8f58b268e6043cb2f26 # v3.7.0
1515

1616
- name: Setup
1717
run: ./setup.sh

‎.github/workflows/test_windows.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ jobs:
99

1010
# Steps represent a sequence of tasks that will be executed as part of the job
1111
steps:
12-
- uses: actions/checkout@v3
12+
- uses: actions/checkout@a37ce9120846195fa4ece8f58b268e6043cb2f26 # v3.7.0
1313

1414
- name: Enable Developer Command Prompt
15-
uses: ilammy/msvc-dev-cmd@v1
15+
uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0
1616

1717
- name: Build AirLib
1818
shell: cmd

0 commit comments

Comments
 (0)