chore: setup-node v6; add monthly metrics; extend validator inputs title (#293)

* feat: add montly issue stats

* chore: update actions

* fix(stale): use validate-inputs
This commit is contained in:
2025-10-15 14:38:07 +03:00
committed by GitHub
parent 78fdad69e5
commit 33631ad911
5 changed files with 58 additions and 14 deletions

View File

@@ -38,18 +38,12 @@ runs:
steps:
- name: Validate Inputs
id: validate
shell: bash
env:
GITHUB_TOKEN: ${{ inputs.token }}
run: |
set -euo pipefail
# Check for obvious token misconfigurations
if [[ -z "$GITHUB_TOKEN" ]] || [[ "$GITHUB_TOKEN" == *'${{'* ]] || [[ "$GITHUB_TOKEN" == 'secrets.'* ]]; then
echo "::warning::GitHub token appears to be unevaluated or misconfigured. Please provide a valid token."
fi
echo "Input validation completed successfully"
uses: ./validate-inputs
with:
action: 'stale'
token: ${{ inputs.token }}
days-before-stale: ${{ inputs.days-before-stale }}
days-before-close: ${{ inputs.days-before-close }}
- name: 🚀 Run stale
id: stale