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:
Jonas L 2022-01-04 07:51:03 +01:00 committed by GitHub
parent 415e22a306
commit 0b994c4e20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 29 additions and 0 deletions

29
.github/workflows/closed-references.yml vendored Normal file
View File

@ -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' }}