mirror of https://github.com/microsoft/vcpkg.git
Potential fix for code scanning alert no. 2: Workflow does not contain permissions (#46079)
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
This commit is contained in:
parent
27b8546869
commit
4a1e8320e2
|
|
@ -1,23 +0,0 @@
|
|||
name: Test Modified Ports
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- onboard-actions
|
||||
jobs:
|
||||
Windows:
|
||||
runs-on:
|
||||
- self-hosted
|
||||
- "1ES.Pool=vcpkg-windows-wus"
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
# fetch-depth 50 tries to ensure we capture the whole history of the branch
|
||||
fetch-depth: 50
|
||||
|
||||
- name: Bootstrap
|
||||
run: ./bootstrap-vcpkg.sh
|
||||
|
||||
- name: Example
|
||||
shell: pwsh
|
||||
run: Write-Host 'Running on 1ES Hosted GitHub Runners'
|
||||
|
|
@ -1,5 +1,8 @@
|
|||
name: Check For Common Mistakes
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue