Merge branch 'master' into maintenance

This commit is contained in:
Gina Häußge committed 2021-01-14 16:08:39 +01:00
commit 31fee9c596
4 files changed
+61 -2

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
docs:
- "docs/*"
- "docs/**/*"
- "README.md"
meta:
- "CODE_OF_CONDUCT.md"
- "CONTRIBUTING.md"
- "SECURITY.md"
- ".github/CODEOWNERS"
- ".github/FUNDING.yml"
- ".github/ISSUE_TEMPLATE/*"
- ".github/PULL_REQUEST_TEMPLATE.md"
ci/cd:
- ".github/fixtures/**/*"
- ".github/workflows/*"
- ".github/labeler.yml"
docker:
- ".github/workflows/trigger_docker.yml"
tests:
- "tests/*"
- "tests/**/*"
+14
View File
@@ -0,0 +1,14 @@
approve_label: "approved"
problem_label: "needs some work"
allowed_targets: ["maintenance", "devel", "staging/maintenance", "staging/devel"]
forbidden_sources:
["master", "maintenance", "devel", "staging/maintenance", "staging/devel"]
labels:
docs:
additional_allowed_targets: ["master"]
meta:
additional_allowed_targets: ["master"]
ci/cd:
additional_allowed_targets: ["master"]
@@ -1,10 +1,10 @@
name: "Issue Labeler"
name: "Issue Automation"
on:
issues:
types: [opened, edited, closed, reopened]
jobs:
label-opened-and-edited:
label:
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v2
+20
View File
@@ -0,0 +1,20 @@
name: "Pull Request Automation"
on:
pull_request_target:
types: ["opened", "synchronize", "reopened", "edited", "labeled", "unlabeled"]
jobs:
label:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v3
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
validate:
runs-on: ubuntu-latest
needs: label
steps:
- uses: OctoPrint/actions/pr-validation@main
with:
github-token: ${{ secrets.GITHUB_TOKEN }}