Check Conflicts
.github/workflows/check_conflicts.yml (opens in new tab)Triggers
pull_request
Jobs
| Job | Runs on | Steps | Actions used |
|---|---|---|---|
| check_conflicts | ubuntu-latest | 4 | actions/checkout@v2 actions/setup-python@v3 |
Raw YAML
name: Check Conflicts
on:
pull_request:
types: [opened, synchronize, reopened, edited]
jobs:
check_conflicts:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pandas==2.2.2 PyYAML==6.0.1
- name: Run check_conflicts.py
run: python check_conflicts.py
Last fetched:
Triggers
pull_request push
Jobs
| Job | Runs on | Steps | Actions used |
|---|---|---|---|
| yamllint | ubuntu-latest | 4 | actions/checkout@v4 actions/setup-python@v2 |
| Validate resource definition | ubuntu-latest | 4 | actions/checkout@v4 actions/setup-python@v2 |
Raw YAML
---
name: CI
'on':
pull_request:
push:
branches:
- main
defaults:
run:
working-directory: 'vgcn-infrastructure'
jobs:
yamllint:
name: yamllint
runs-on: ubuntu-latest
steps:
- name: Check out the codebase.
uses: actions/checkout@v4
with:
path: 'vgcn-infrastructure'
- name: Set up Python 3.
uses: actions/setup-python@v2
with:
python-version: '3.9'
- name: Install requirements.
run: pip install -r requirements.txt
- name: Lint code.
run: yamllint .
schema:
name: Validate resource definition
runs-on: ubuntu-latest
steps:
- name: Check out the codebase.
uses: actions/checkout@v4
with:
path: 'vgcn-infrastructure'
- name: Set up Python 3.
uses: actions/setup-python@v2
with:
python-version: '3.9'
- name: Install requirements.
run: pip install -r requirements.txt
- name: Validate resource definition.
run: pykwalify -d resources.yaml -s schema.yaml
Last fetched: