mirror of
https://github.com/microsoft/BCQuality.git
synced 2026-10-05 14:46:55 +01:00
Pin GitHub Actions to full-length commit SHAs (#126)
This commit is contained in:
parent
a58b23d0f9
commit
91f52f8b4f
7 changed files with 20 additions and 9 deletions
4
.github/workflows/flag-new-top-level.yml
vendored
4
.github/workflows/flag-new-top-level.yml
vendored
|
|
@ -25,14 +25,14 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out repository
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
|
||||
with:
|
||||
sparse-checkout: |
|
||||
.github/new-top-level-flag.md
|
||||
sparse-checkout-cone-mode: false
|
||||
|
||||
- name: Flag unexpected new top-level entries
|
||||
uses: actions/github-script@v7
|
||||
uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0
|
||||
with:
|
||||
script: |
|
||||
const fs = require('fs');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue