From e9b8839382c6d53e741ac3865efba574109605e3 Mon Sep 17 00:00:00 2001 From: chalmer lowe Date: Thu, 9 May 2024 16:08:09 +0000 Subject: [PATCH] adds basic action yaml file --- .github/workflows/action.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/action.yml diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml new file mode 100644 index 0000000..0cccfd4 --- /dev/null +++ b/.github/workflows/action.yml @@ -0,0 +1,32 @@ +name: 'Label Stale Issues' +description: 'Label issues with no recent activity' +author: 'GitHub' +inputs: + repo-token: + description: 'Token for the repository. Can be passed in using `{{ secrets.GITHUB_TOKEN }}`.' + required: false + default: ${{ github.token }} + stale-issue-message: + description: 'TEST: labeling issues as stale if they exceed a specific age.' + required: true + days-before-issue-stale: + description: 'The number of days old an issue can be before marking it stale. Set to -1 to never mark issues as stale automatically. Override "days-before-stale" option regarding only the issues.' + required: false + default: '850' + stale-issue-label: + description: 'The label to apply when an issue is stale.' + required: false + default: 'TEST LABEL Stale' + exempt-issue-labels: + description: 'The labels that mean an issue is exempt from being marked stale. Separate multiple labels with commas (eg. "label1,label2").' + default: 'Do not stale' + required: false + close-issue-reason: + description: 'The reason to use when closing an issue.' + default: 'not_planned' + required: false +outputs: + closed-issues-prs: + description: 'List of all closed issues and pull requests.' + staled-issues-prs: + description: 'List of all staled issues and pull requests.'