Merge branch 'main' of github.com:awslabs/project-lakechain #42
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lockdown untrusted workflows | |
on: | |
push: | |
paths: | |
- ".github/workflows/**" | |
pull_request: | |
paths: | |
- ".github/workflows/**" | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
enforce_pinned_workflows: | |
name: Harden Security | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 | |
- name: Ensure 3rd party workflows have SHA pinned | |
uses: zgosalvez/github-actions-ensure-sha-pinned-actions@f32435541e24cd6a4700a7f52bb2ec59e80603b1 |