From dcc40fa80b08fb8938a2f572cce150659eb84bb5 Mon Sep 17 00:00:00 2001 From: TheSpad Date: Wed, 5 Apr 2023 17:21:25 +0100 Subject: [PATCH] Add issue/PR workflows --- .github/workflows/call-invalid-issues-cron.yml | 13 +++++++++++++ .github/workflows/call-issue-pr-tracker.yml | 14 ++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 .github/workflows/call-invalid-issues-cron.yml create mode 100644 .github/workflows/call-issue-pr-tracker.yml diff --git a/.github/workflows/call-invalid-issues-cron.yml b/.github/workflows/call-invalid-issues-cron.yml new file mode 100644 index 00000000..017f2332 --- /dev/null +++ b/.github/workflows/call-invalid-issues-cron.yml @@ -0,0 +1,13 @@ +name: Mark stale issues and pull requests +on: + workflow_dispatch: + schedule: + - cron: "30 1 * * *" + +jobs: + stale: + permissions: + issues: write + pull-requests: write + uses: linuxserver/github-workflows/.github/workflows/issues-cron.yml@v1 + secrets: inherit diff --git a/.github/workflows/call-issue-pr-tracker.yml b/.github/workflows/call-issue-pr-tracker.yml new file mode 100644 index 00000000..87243e2c --- /dev/null +++ b/.github/workflows/call-issue-pr-tracker.yml @@ -0,0 +1,14 @@ +name: Issue & PR Tracker + +on: + issues: + types: [opened,reopened,labeled,unlabeled] + pull_request_target: + types: [opened,reopened,review_requested,review_request_removed,labeled,unlabeled] + +jobs: + manage-project: + permissions: + issues: write + uses: linuxserver/github-workflows/.github/workflows/issue-pr-tracker.yml@v1 + secrets: inherit