[release-v0.59.x] fix: resolve issue where results may not be obtained from sidecar logs #1521
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@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0 | |
with: | |
egress-policy: audit | |
- name: 'Checkout' | |
uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3 | |
- name: Get changed files | |
id: changed-files | |
uses: tj-actions/changed-files@0874344d6ebbaa00a27da73276ae7162fadcaf69 # v44.3.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 }} |