mirror of
https://github.com/linuxserver/github-workflows.git
synced 2026-03-02 00:02:48 +08:00
Add first action
This commit is contained in:
parent
701ab02dd7
commit
17dfc25565
6
.github/dependabot.yml
vendored
Normal file
6
.github/dependabot.yml
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: "github-actions"
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "daily"
|
||||
12
.github/workflows/call-invalid-interaction-helper.yml
vendored
Normal file
12
.github/workflows/call-invalid-interaction-helper.yml
vendored
Normal 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
|
||||
17
invalid-interaction-helper.yml
Normal file
17
invalid-interaction-helper.yml
Normal 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.
|
||||
Loading…
x
Reference in New Issue
Block a user