chore(deps): update quay.io/konflux-ci/oras:latest docker digest to 7a85f12 #812
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: Linters | |
'on': | |
pull_request: | |
branches: | |
- main | |
types: | |
- opened | |
- reopened | |
- synchronize | |
jobs: | |
yamllint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run yamllint | |
uses: frenck/action-yamllint@v1 | |
gitlint: | |
name: Run gitlint checks | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
ref: ${{ github.event.pull_request.head.sha }} | |
- name: Install gitlint into container | |
run: | | |
python3 -m venv venv | |
source venv/bin/activate | |
python3 -m pip install gitlint | |
- name: Run gitlint check | |
run: | | |
source venv/bin/activate | |
gitlint --commits origin/${{ github.event.pull_request.base.ref }}..HEAD |