mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-06-02 16:09:59 -04:00
misc(ci): pin dependencies of GitHub actions
This is recommended by the OpenSSF scorecard tool Signed-off-by: Erik Michelson <github@erik.michelson.eu>
This commit is contained in:
parent
4d4c2e90df
commit
8588cbbf21
16 changed files with 81 additions and 74 deletions
.github/workflows
10
.github/workflows/frontend-netlify-deploy-pr.yml
vendored
10
.github/workflows/frontend-netlify-deploy-pr.yml
vendored
|
@ -47,12 +47,12 @@ jobs:
|
|||
outputs:
|
||||
changed: ${{ github.event_name == 'push' || steps.changed.outputs.files }}
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
|
||||
if: github.event_name != 'push'
|
||||
|
||||
- name: Check for frontend file changes
|
||||
if: github.event_name != 'push'
|
||||
uses: dorny/paths-filter@v2
|
||||
uses: dorny/paths-filter@4512585405083f25c027a35db413c2b3b9006d50 # v2.11.1
|
||||
id: changed
|
||||
with:
|
||||
filters: |
|
||||
|
@ -72,7 +72,7 @@ jobs:
|
|||
steps:
|
||||
- name: Checkout repository
|
||||
if: needs.changes.outputs.changed == 'true'
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
|
||||
with:
|
||||
ref: ${{ github.event.pull_request.head.sha }}
|
||||
|
||||
|
@ -108,7 +108,7 @@ jobs:
|
|||
|
||||
- name: Mark GitHub deployment as started
|
||||
if: needs.changes.outputs.changed == 'true'
|
||||
uses: bobheadxi/deployments@v1.3.0
|
||||
uses: bobheadxi/deployments@9d4477fdaa4120020cd10ab7e97f68c801422e73 # v1.3.0
|
||||
id: github-deployment
|
||||
with:
|
||||
step: start
|
||||
|
@ -129,7 +129,7 @@ jobs:
|
|||
|
||||
- name: Mark GitHub deployment as finished
|
||||
if: needs.changes.outputs.changed == 'true'
|
||||
uses: bobheadxi/deployments@v1.3.0
|
||||
uses: bobheadxi/deployments@9d4477fdaa4120020cd10ab7e97f68c801422e73 # v1.3.0
|
||||
with:
|
||||
step: finish
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue