Skip to content

Commit be6705b

Browse files
fix: pin GitHub Actions to full SHA (CLOUDEVOPS-4942)
1 parent 9650ea0 commit be6705b

2 files changed

Lines changed: 18 additions & 18 deletions

File tree

.github/workflows/CI.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
name: Spectral ubuntu CI
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v3
11+
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
1212
- name: Install and run Spectral CI
1313
uses: ./
1414
with:
@@ -18,7 +18,7 @@ jobs:
1818
name: Spectral ubuntu audit
1919
runs-on: ubuntu-latest
2020
steps:
21-
- uses: actions/checkout@v3
21+
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
2222
- name: Install and run Spectral Audit
2323
uses: ./
2424
with:
@@ -28,7 +28,7 @@ jobs:
2828
name: Spectral macos CI
2929
runs-on: ubuntu-latest
3030
steps:
31-
- uses: actions/checkout@v3
31+
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
3232
- name: Install and run Spectral CI
3333
uses: ./
3434
with:
@@ -38,7 +38,7 @@ jobs:
3838
name: Spectral macos audit
3939
runs-on: ubuntu-latest
4040
steps:
41-
- uses: actions/checkout@v3
41+
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
4242
- name: Install and run Spectral Audit
4343
uses: ./
4444
with:
@@ -48,7 +48,7 @@ jobs:
4848
name: Spectral windows CI
4949
runs-on: windows-latest
5050
steps:
51-
- uses: actions/checkout@v3
51+
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
5252
- name: Install and run Spectral CI
5353
uses: ./
5454
with:
@@ -58,7 +58,7 @@ jobs:
5858
name: Spectral windows audit
5959
runs-on: windows-latest
6060
steps:
61-
- uses: actions/checkout@v3
61+
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
6262
- name: Install and run Spectral Audit
6363
uses: ./
6464
with:

.github/workflows/main.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,59 +8,59 @@ jobs:
88
name: Spectral ubuntu CI
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v3
11+
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
1212
- name: Install and run Spectral CI
13-
uses: spectralops/spectral-github-action@v4
13+
uses: spectralops/spectral-github-action@ab90f8aa280790b550f34583e1a073bef4af5368 # v4
1414
with:
1515
spectral-dsn: ${{ secrets.SPECTRAL_DSN }}
1616
spectral-args: scan --ok
1717
ubuntu-audit:
1818
name: Spectral ubuntu audit
1919
runs-on: ubuntu-latest
2020
steps:
21-
- uses: actions/checkout@v3
21+
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
2222
- name: Install and run Spectral Audit
23-
uses: spectralops/spectral-github-action@v4
23+
uses: spectralops/spectral-github-action@ab90f8aa280790b550f34583e1a073bef4af5368 # v4
2424
with:
2525
spectral-dsn: ${{ secrets.SPECTRAL_DSN }}
2626
spectral-args: github -k repo -t ${{ secrets.MY_GITHUB_TOKEN }} https://github.com/SpectralOps/spectral-github-action --include-tags base,audit --ok
2727
macos-ci:
2828
name: Spectral macos CI
2929
runs-on: ubuntu-latest
3030
steps:
31-
- uses: actions/checkout@v3
31+
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
3232
- name: Install and run Spectral CI
33-
uses: spectralops/spectral-github-action@v4
33+
uses: spectralops/spectral-github-action@ab90f8aa280790b550f34583e1a073bef4af5368 # v4
3434
with:
3535
spectral-dsn: ${{ secrets.SPECTRAL_DSN }}
3636
spectral-args: scan --ok
3737
macos-audit:
3838
name: Spectral macos audit
3939
runs-on: ubuntu-latest
4040
steps:
41-
- uses: actions/checkout@v3
41+
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
4242
- name: Install and run Spectral Audit
43-
uses: spectralops/spectral-github-action@v4
43+
uses: spectralops/spectral-github-action@ab90f8aa280790b550f34583e1a073bef4af5368 # v4
4444
with:
4545
spectral-dsn: ${{ secrets.SPECTRAL_DSN }}
4646
spectral-args: github -k repo -t ${{ secrets.MY_GITHUB_TOKEN }} https://github.com/SpectralOps/spectral-github-action --include-tags base,audit --ok
4747
windows-ci:
4848
name: Spectral windows CI
4949
runs-on: windows-latest
5050
steps:
51-
- uses: actions/checkout@v3
51+
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
5252
- name: Install and run Spectral CI
53-
uses: spectralops/spectral-github-action@v4
53+
uses: spectralops/spectral-github-action@ab90f8aa280790b550f34583e1a073bef4af5368 # v4
5454
with:
5555
spectral-dsn: ${{ secrets.SPECTRAL_DSN }}
5656
spectral-args: scan --ok
5757
windows-audit:
5858
name: Spectral windows audit
5959
runs-on: windows-latest
6060
steps:
61-
- uses: actions/checkout@v3
61+
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
6262
- name: Install and run Spectral Audit
63-
uses: spectralops/spectral-github-action@v4
63+
uses: spectralops/spectral-github-action@ab90f8aa280790b550f34583e1a073bef4af5368 # v4
6464
with:
6565
spectral-dsn: ${{ secrets.SPECTRAL_DSN }}
6666
spectral-args: github -k repo -t ${{ secrets.MY_GITHUB_TOKEN }} https://github.com/SpectralOps/spectral-github-action --include-tags base,audit --ok

0 commit comments

Comments
 (0)