feat: add k8s client wrapper and constants #183
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: PR Evaluation | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened, ready_for_review, edited] | |
branches: ['main'] | |
jobs: | |
semantic_pr: | |
name: Semantic PR title | |
runs-on: ubuntu-latest | |
if: ${{ github.event.action != 'edited' || | |
github.event.changes.title != null }} | |
steps: | |
- uses: amannn/action-semantic-pull-request@v5 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
types: | | |
fix | |
feat | |
docs | |
style | |
refactor | |
perf | |
test | |
build | |
ci | |
chore | |
revert | |
subjectPattern: ^(?![A-Z])(?=.{1,50}$).+$ | |
subjectPatternError: | | |
The subject "{subject}" found in the pull request title "{title}" | |
didn't match the configured pattern. Please ensure that the subject | |
doesn't start with an uppercase character & not have more than 50 | |
characters. | |
detect-unresolved-conflicts: | |
name: Detect unresolved merge conflicts | |
runs-on: ubuntu-latest | |
needs: semantic_pr | |
steps: | |
- uses: actions/checkout@v3 | |
- name: List files with merge conflict markers | |
run: git --no-pager grep "<<<<<<<" ":(exclude).github/" || true | |
- name: Fail or succeed job if any files with merge conflict markers | |
run: exit $(git grep "<<<<<<<" ":(exclude).github/" | wc --lines) | |
... |