This commit is contained in:
Kreyren 2020-02-10 16:06:51 +00:00
parent 4f01cca7ff
commit 09b4e0edab
7 changed files with 56 additions and 19 deletions

@ -1,16 +1,16 @@
# Workflow for CPP
name: ConaPizza
name: ConaIsa
# Relevant to events - https://help.github.com/en/actions/automating-your-workflow-with-github-actions/events-that-trigger-workflows
on:
pull_request:
types: [synchronize, opened, reopened, ready_for_review]
paths:
- '**.c'
- '${{ secrets.GITHUB_WORKSPACE }}/**.c'
jobs:
# Linting
lint-c:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
@ -19,7 +19,7 @@ jobs:
- name: Linting..
run: for file in $(git --no-pager diff --name-only origin/master | grep -o ".*\.c") ;do cppcheck "$file";done
# Kernel specific builds
build-gcc-c:
gcc-build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
@ -28,7 +28,7 @@ jobs:
- uses: actions/checkout@v2
- name: building..
run: make build-gcc-c
build-clang-c:
clang-build:
runs-on: ${{ matrix.os }}
strategy:
matrix:

@ -1,5 +1,5 @@
# Workflow for CPP
name: Cona2xPizza
name: ConaIsa
# Relevant to events - https://help.github.com/en/actions/automating-your-workflow-with-github-actions/events-that-trigger-workflows
on:

19
.github/workflows/bash.yml vendored Normal file

@ -0,0 +1,19 @@
name: ConaIsa
# Relevant to events - https://help.github.com/en/actions/automating-your-workflow-with-github-actions/events-that-trigger-workflows
on:
pull_request:
types: [synchronize, opened, reopened, ready_for_review]
paths:
- '**.bash'
jobs:
# Linting
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Installing dependencies..
run: if ! apt list --installed | grep -qP ".*shellcheck.*"; then apt install -y shellcheck; fi
- name: Linting..
run: for file in $(git --no-pager diff --name-only origin/master | grep -o ".*\.bash") ;do shellcheck --external-sources --shell=bash "$file";done

@ -1,4 +1,4 @@
name: Greetings
name: ConaIsa
on: [pull_request, issues]

@ -1,18 +1,14 @@
name: label-maker
name: ConaIsa
on:
schedule:
- cron: "*/30 * * * *"
# Relevant to events - https://help.github.com/en/actions/automating-your-workflow-with-github-actions/events-that-trigger-workflows
on: push
jobs:
labeler:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v1
-
name: Run Labeler
- uses: actions/checkout@v1
- name: Assigning labels
if: success()
uses: crazy-max/ghaction-github-labeler@v1
with:

@ -1,12 +1,15 @@
# Workflow to associate labels automatically
name: labeler
# Trigger the workflow on pull request events
on: [pull_request]
# Trigger if push
on:
push:
paths:
- '${{ secrets.GITHUB_WORKSPACE }}/.github/label-pr.yml'
jobs:
label:
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
steps:
# We need to checkout the repository to access the configured file (.github/label-pr.yml)
- uses: actions/checkout@v2

19
.github/workflows/shell.yml vendored Normal file

@ -0,0 +1,19 @@
name: ConaIsa
# Relevant to events - https://help.github.com/en/actions/automating-your-workflow-with-github-actions/events-that-trigger-workflows
on:
pull_request:
types: [synchronize, opened, reopened, ready_for_review]
paths:
- '**.sh'
jobs:
# Linting
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Installing dependencies..
run: if ! apt list --installed | grep -qP ".*shellcheck.*"; then apt install -y shellcheck; fi
- name: Linting..
run: for file in $(git --no-pager diff --name-only origin/master | grep -o ".*\.sh") ;do shellcheck --external-sources --shell=sh "$file";done