Skip to content

Commit 9e8fad5

Browse files
authored
Pin actions (#81)
1 parent 917126a commit 9e8fad5

6 files changed

Lines changed: 35 additions & 19 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ jobs:
1515
contents: read
1616
steps:
1717
- name: Checkout
18-
uses: actions/checkout@v4
18+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
1919
with: { submodules: recursive }
2020
- name: Build All
21-
uses: espressif/esp-idf-ci-action@v1
21+
uses: espressif/esp-idf-ci-action@9d38657f3d789ca759b2b37aaf5ceffbc42c4f0d # v1
2222
with:
2323
esp_idf_version: ${{ matrix.idf_version }}
2424
command: |
2525
pip install idf-build-apps
26-
idf-build-apps build --recursive --target ${{ matrix.target }}
26+
idf-build-apps build --recursive --target ${{ matrix.target }}

.github/workflows/docs.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,17 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Checkout
15-
uses: actions/checkout@v2
15+
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
1616
- name: Install Doxygen
17-
uses: ssciwr/doxygen-install@v1
17+
uses: ssciwr/doxygen-install@f13be1686235deee0aeb6cdf56640170691dc96b # v1
1818
with: { version: "1.14.0" }
1919
- name: Build
2020
run: cd docs && doxygen
2121
- name: Configure Pages
22-
uses: actions/configure-pages@v5
22+
uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5.0.0
2323
- name: Upload Generated Docs
2424
if: ${{ inputs.deploy }}
25-
uses: actions/upload-pages-artifact@v3
25+
uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3.0.1
2626
with: { path: docs/output/html }
2727
deploy-docs:
2828
name: Deploy Documentation
@@ -38,4 +38,4 @@ jobs:
3838
steps:
3939
- name: Deploy to GitHub Pages
4040
id: deployment
41-
uses: actions/deploy-pages@v4
41+
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5

.github/workflows/esp_registry.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,26 +21,26 @@ jobs:
2121
nanopb:./components/third_party/nanopb
2222
khash:./components/third_party/khash
2323
steps:
24-
- uses: actions/checkout@v4
24+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
2525
with: { submodules: recursive }
2626
- name: Upload Components (Dry Run)
27-
uses: espressif/upload-components-ci-action@v2
27+
uses: espressif/upload-components-ci-action@2ce17d73e35473317c1419dbd4f007aacb593040 # v2.2.1
2828
if: ${{ inputs.dry_run }}
2929
with:
3030
components: ${{ env.COMPONENTS }}
3131
namespace: livekit
3232
dry_run: true
3333
- name: Upload Components
34-
uses: espressif/upload-components-ci-action@v2
34+
uses: espressif/upload-components-ci-action@2ce17d73e35473317c1419dbd4f007aacb593040 # v2.2.1
3535
if: ${{ !inputs.dry_run }}
3636
with:
3737
components: ${{ env.COMPONENTS }}
3838
namespace: livekit
3939
api_token: ${{ secrets.ESP_REGISTRY_TOKEN }}
4040
- name: Save Archives
4141
if: always()
42-
uses: actions/upload-artifact@v4
42+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
4343
with:
4444
name: archives
4545
path: components/**/*.tgz
46-
if-no-files-found: error
46+
if-no-files-found: error

.github/workflows/license_check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
contents: read
1111
steps:
1212
- name: Checkout
13-
uses: actions/checkout@v4
13+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
1414
- name: Check License Headers
1515
shell: bash
1616
run: |
@@ -22,4 +22,4 @@ jobs:
2222
-ignore "components/third_party/**/*" \
2323
-ignore "components/**/examples/**/*" \
2424
-ignore "components/livekit/protocol/**/*" \
25-
components/**/*.{c,h}
25+
components/**/*.{c,h}

.github/workflows/link_check.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ jobs:
1010
contents: read
1111
steps:
1212
- name: Checkout
13-
uses: actions/checkout@v4
13+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
1414
- name: Restore lychee cache
15-
uses: actions/cache@v4
15+
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
1616
with:
1717
path: .lycheecache
1818
key: cache-lychee-${{ github.sha }}
1919
restore-keys: cache-lychee-
2020
- name: Run lychee
21-
uses: lycheeverse/lychee-action@v2
21+
uses: lycheeverse/lychee-action@8646ba30535128ac92d33dfc9133794bfdd9b411 # v2.8.0
2222
with:
2323
args: "--verbose --no-progress --cache --max-cache-age 1d ."
24-
fail: true
24+
fail: true

.github/workflows/pin_check.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Pin Check
2+
on:
3+
workflow_dispatch:
4+
pull_request: { paths: [.github/**] }
5+
jobs:
6+
pin-check:
7+
name: Pin Check
8+
runs-on: ubuntu-latest
9+
permissions:
10+
contents: read
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
14+
- name: Pin Check
15+
uses: suzuki-shunsuke/pinact-action@cf51507d80d4d6522a07348e3d58790290eaf0b6 # v2.0.0
16+
with: { skip_push: true }

0 commit comments

Comments
 (0)