Add OCI source label to images #1771
Workflow file for this run
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: 'woke' | |
permissions: | |
contents: read | |
on: | |
- pull_request | |
jobs: | |
woke: | |
name: 'woke' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@5c7944e73c4c2a096b17a9cb74d65b6c2bbafbde # v2.9.1 | |
with: | |
egress-policy: audit | |
- name: 'Checkout' | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- name: Get changed files | |
id: changed-files | |
uses: tj-actions/changed-files@40853de9f8ce2d6cfdc73c1b96f14e22ba44aec4 # v45.0.0 | |
with: | |
write_output_files: true | |
files: | | |
** | |
- name: 'woke' | |
if: steps.changed-files.outputs.any_changed == 'true' | |
uses: get-woke/woke-action@b2ec032c4a2c912142b38a6a453ad62017813ed0 # v0 | |
with: | |
# Cause the check to fail on any broke rules | |
fail-on-error: true | |
woke-args: ${{ steps.changed_files.outputs.all_changed_files }} |