ci: add closed references notificier workflow (#1467)
This workflow will check for issue links in the code that has been closed upstream and can be dealt with.
This commit is contained in:
parent
415e22a306
commit
0b994c4e20
|
@ -0,0 +1,29 @@
|
||||||
|
name: Closed Reference Notifier
|
||||||
|
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: "0 0 * * *"
|
||||||
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
issueLimit:
|
||||||
|
description: Max. number of issues to create
|
||||||
|
required: true
|
||||||
|
default: "5"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
find_closed_references:
|
||||||
|
if: github.repository_owner == 'LibreTime'
|
||||||
|
name: Find closed references
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- uses: actions/setup-node@v2
|
||||||
|
with:
|
||||||
|
node-version: "16"
|
||||||
|
|
||||||
|
- uses: ory/closed-reference-notifier@v1
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
issueLimit: ${{ github.event.inputs.issueLimit || '5' }}
|
Loading…
Reference in New Issue