Add github actions
This commit is contained in:
parent
7aff03901b
commit
e39519781f
|
@ -0,0 +1,7 @@
|
|||
version: 2
|
||||
updates:
|
||||
# Maintain dependencies for GitHub Actions
|
||||
- package-ecosystem: "github-actions"
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "daily"
|
|
@ -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/**/*
|
|
@ -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
|
|
@ -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 }}"
|
|
@ -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
|
|
@ -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
|
Loading…
Reference in New Issue