Add empty pre-commit configuration #3162
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: Pull request check | |
on: | |
pull_request: | |
types: | |
- opened | |
- reopened | |
- labeled | |
- unlabeled | |
- edited | |
- synchronize | |
jobs: | |
build: | |
name: Pull request check | |
runs-on: ubuntu-20.04 | |
timeout-minutes: 5 | |
steps: | |
- run: pip install --upgrade attrs | |
- uses: actions/checkout@v3 | |
- run: echo "${HOME}/.local/bin" >> ${GITHUB_PATH} | |
- run: python3 -m pip install --user --pre c2cciutils[pr_checks] | |
- name: Check pull request | |
run: c2cciutils-pull-request-checks | |
env: | |
GITHUB_EVENT: ${{ toJson(github) }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |