2
0
mirror of https://github.com/nofusscomputing/kubernetes.git synced 2025-08-02 04:22:42 +00:00

ci: Add initial CI for PRs

ref: #5 #2
This commit is contained in:
2025-06-12 00:30:42 +09:30
parent 2b7e64bc6d
commit 8a705abb41
4 changed files with 163 additions and 0 deletions

26
.github/workflows/ci.yaml vendored Normal file
View File

@ -0,0 +1,26 @@
---
name: Pull Requests
on:
pull_request: {}
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install yamllint
run: pip install yamllint
- name: Lint YAML files
run: yamllint ${PWD}/
pull-request:
name: pull-request
uses: nofusscomputing/action_pull_requests/.github/workflows/pull-requests.yaml@development

26
.github/workflows/pull_request.yaml vendored Normal file
View File

@ -0,0 +1,26 @@
---
name: Pull Requests
on:
pull_request: {}
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install yamllint
run: pip install yamllint
- name: Lint YAML files
run: yamllint ${PWD}/
pull-request:
name: pull-request
uses: nofusscomputing/action_pull_requests/.github/workflows/pull-requests.yaml@development