Add github actions

This commit is contained in:
Austin Horstman 2022-03-02 11:50:57 -06:00
parent 7aff03901b
commit e39519781f
6 changed files with 78 additions and 0 deletions

7
.github/dependabot.yml vendored Normal file
View File

@ -0,0 +1,7 @@
version: 2
updates:
# Maintain dependencies for GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"

23
.github/labeler.yml vendored Normal file
View File

@ -0,0 +1,23 @@
repo:
- '*'
GitHub-Action:
- .github/workflows/*
Configs:
- configs/**/*
Package-Files:
- pkg-files/**/*
scripts:
- scripts/**/*
debug:
- scripts/debug/**/*
helpers:
- scripts/helpers/**/*
installers:
- scripts/installers/**/*

View File

@ -0,0 +1,9 @@
on: [pull_request]
name: Dependabot-Issue
jobs:
dependabot-issue:
runs-on: ubuntu-latest
steps:
- name: Dependabot issue for PRs
uses: goatandsheep/dependabot-issue-action@v1.0.1

22
.github/workflows/label.yml vendored Normal file
View File

@ -0,0 +1,22 @@
# This workflow will triage pull requests and apply a label based on the
# paths that are modified in the pull request.
#
# To use this workflow, you will need to set up a .github/labeler.yml
# file with configuration. For more information, see:
# https://github.com/actions/labeler
name: Labeler
on: [pull_request]
jobs:
label:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- uses: actions/labeler@v4
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"

11
.github/workflows/shell-linter.yml vendored Normal file
View File

@ -0,0 +1,11 @@
on: [pull_request]
name: Shell-Linter
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v1
- name: Run ShellCheck
uses: azohra/shell-linter@latest

6
CODEOWNERS Normal file
View File

@ -0,0 +1,6 @@
# Lines starting with '#' are comments.
# Each line is a file pattern followed by one or more owners.
# Order is important. The last matching pattern has the most precedence.
# These owners will be the default owners for everything in the repo.
* @ChrisTitusTech