Support repo's Appstream data download and install #2122
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: Pre Commit | |
on: | |
pull_request: | |
merge_group: | |
types: [checks_requested] | |
jobs: | |
pre-commit: | |
name: Pre Commit Hooks | |
runs-on: ubuntu-latest | |
container: ghcr.io/rpm-software-management/dnf-ci-host | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install pre-commit | |
run: pip install pre-commit | |
- name: State to use Workspace Dir | |
run: git config --global --add safe.directory "$GITHUB_WORKSPACE" | |
- name: Run pre-commit on entire codebase | |
run: pre-commit run --show-diff-on-failure --color=always --all-files |