Skip to content

Commit

Permalink
Merge pull request #11396 from daschuer/pre-commit-log
Browse files Browse the repository at this point in the history
Upload pre-commit.log in case of failure
  • Loading branch information
Swiftb0y authored Mar 20, 2023
2 parents c3e28a6 + 83aa300 commit 420ea59
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,13 @@ jobs:
name: ${{ env.UPLOAD_PATCH_FILE }}
path: ${{ env.UPLOAD_PATCH_FILE }}

- name: "Upload pre-commit.log"
if: failure() && env.UPLOAD_PATCH_FILE == null
uses: actions/upload-artifact@v3.1.2
with:
name: pre-commit.log
path: /github/home/.cache/pre-commit/pre-commit.log

# AppStream metadata has been generated/updated by a pre-commit hook
- name: "Validate AppStream metadata"
if: runner.os == 'Linux'
Expand Down

0 comments on commit 420ea59

Please sign in to comment.