ci: pin some more action versions (#36343)
* [StepSecurity] ci: Harden GitHub Actions Signed-off-by: StepSecurity Bot <bot@stepsecurity.io> * Update electron_woa_testing.yml Signed-off-by: StepSecurity Bot <bot@stepsecurity.io> Co-authored-by: Jeremy Rose <nornagon@nornagon.net>
This commit is contained in:
parent
9618a7227e
commit
f9d1b9aded
1 changed files with 6 additions and 6 deletions
12
.github/workflows/electron_woa_testing.yml
vendored
12
.github/workflows/electron_woa_testing.yml
vendored
|
@ -26,7 +26,7 @@ jobs:
|
||||||
checks: write
|
checks: write
|
||||||
pull-requests: write
|
pull-requests: write
|
||||||
steps:
|
steps:
|
||||||
- uses: LouisBrunner/checks-action@v1.1.1
|
- uses: LouisBrunner/checks-action@442ad2296fb110373e3fe01c2a3717b546583631 # tag: v1.1.1
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
name: electron-woa-testing
|
name: electron-woa-testing
|
||||||
|
@ -39,7 +39,7 @@ jobs:
|
||||||
Remove-Item * -Recurse -Force
|
Remove-Item * -Recurse -Force
|
||||||
shell: powershell
|
shell: powershell
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # tag: v3
|
||||||
with:
|
with:
|
||||||
path: src\electron
|
path: src\electron
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
@ -134,7 +134,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
Remove-Item -path $env:APPDATA/Electron* -Recurse -Force -ErrorAction Ignore
|
Remove-Item -path $env:APPDATA/Electron* -Recurse -Force -ErrorAction Ignore
|
||||||
shell: powershell
|
shell: powershell
|
||||||
- uses: LouisBrunner/checks-action@v1.1.1
|
- uses: LouisBrunner/checks-action@442ad2296fb110373e3fe01c2a3717b546583631 # tag: v1.1.1
|
||||||
if: ${{ success() }}
|
if: ${{ success() }}
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
@ -143,7 +143,7 @@ jobs:
|
||||||
details_url: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
|
details_url: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
|
||||||
output: |
|
output: |
|
||||||
{"summary":"${{ job.status }}","text_description":"See job details here: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"}
|
{"summary":"${{ job.status }}","text_description":"See job details here: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"}
|
||||||
- uses: LouisBrunner/checks-action@v1.1.1
|
- uses: LouisBrunner/checks-action@442ad2296fb110373e3fe01c2a3717b546583631 # tag: v1.1.1
|
||||||
if: ${{ success() }}
|
if: ${{ success() }}
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
@ -152,7 +152,7 @@ jobs:
|
||||||
details_url: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
|
details_url: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
|
||||||
output: |
|
output: |
|
||||||
{"summary":"Job Succeeded","text_description":"See job details here: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"}
|
{"summary":"Job Succeeded","text_description":"See job details here: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"}
|
||||||
- uses: LouisBrunner/checks-action@v1.1.1
|
- uses: LouisBrunner/checks-action@442ad2296fb110373e3fe01c2a3717b546583631 # tag: v1.1.1
|
||||||
if: ${{ ! success() }}
|
if: ${{ ! success() }}
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
@ -160,4 +160,4 @@ jobs:
|
||||||
conclusion: "${{ job.status }}"
|
conclusion: "${{ job.status }}"
|
||||||
details_url: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
|
details_url: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
|
||||||
output: |
|
output: |
|
||||||
{"summary":"Job Failed","text_description":"See job details here: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"}
|
{"summary":"Job Failed","text_description":"See job details here: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue