Add first action

This commit is contained in:
Roxedus 2022-10-03 10:37:14 +02:00
parent 701ab02dd7
commit 17dfc25565
No known key found for this signature in database
GPG Key ID: EBC13557C4D91D7B
3 changed files with 35 additions and 0 deletions

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

@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"

View File

@ -0,0 +1,12 @@
name: Comment on invalid interaction
on:
issues:
types:
- labeled
jobs:
add-comment-on-invalid:
if: github.event.label.name == 'invalid'
permissions:
issues: write
uses: linuxserver/github-workflows/invalid-interaction-helper.yml@main
secrets: inherit

View File

@ -0,0 +1,17 @@
name: Comment on invalid interaction
on:
workflow_call:
jobs:
add-comment-on-invalid:
if: github.event.label.name == 'invalid'
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- name: Add comment on invalid
uses: peter-evans/create-or-update-comment@1.4.5
with:
issue-number: ${{ github.event.issue.number}}
body: |
A human has marked this issue as invalid, this likely happened because the issue template was not used in the creation of the issue.