weryfikacja poprawności kluczy ssh w repo #1
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: Validate SSH keys | |
on: | |
pull_request: | |
branches: [ "main" ] | |
paths: | |
- '.ssh/**' | |
workflow_dispatch: | |
jobs: | |
validate: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Check if keys in .ssh directory are valid | |
run: find .ssh -type f -exec ssh-keygen -lf {} \; |