db620d33df
CodeQL / Analyze (csharp) (push) Waiting to run
CodeQL / Analyze (python) (push) Waiting to run
dotnet-build-and-test / dotnet-test-functions (push) Has been cancelled
dotnet-build-and-test / paths-filter (push) Has been cancelled
dotnet-build-and-test / dotnet-build (Debug, windows-latest, net9.0) (push) Has been cancelled
dotnet-build-and-test / dotnet-build (Release, ubuntu-latest, net10.0) (push) Has been cancelled
dotnet-build-and-test / dotnet-build (Release, ubuntu-latest, net8.0) (push) Has been cancelled
dotnet-build-and-test / dotnet-build (Release, windows-latest, net472) (push) Has been cancelled
dotnet-build-and-test / dotnet-test (Release, integration, true, ubuntu-latest, net10.0) (push) Has been cancelled
dotnet-build-and-test / dotnet-test (Release, integration, true, windows-latest, net472) (push) Has been cancelled
dotnet-build-and-test / dotnet-foundry-hosted-it (push) Has been cancelled
dotnet-build-and-test / dotnet-build-and-test-check (push) Has been cancelled
dotnet-build-and-test / Integration Test Report (push) Has been cancelled
50 lines
1.3 KiB
YAML
50 lines
1.3 KiB
YAML
name: Stale issue and PR ping
|
|
|
|
on:
|
|
schedule:
|
|
- cron: '0 0 * * *' # Midnight UTC daily
|
|
workflow_dispatch:
|
|
inputs:
|
|
days_threshold:
|
|
description: 'Days of silence before pinging the author'
|
|
required: false
|
|
default: '4'
|
|
dry_run:
|
|
description: 'Log what would be pinged without taking action'
|
|
required: false
|
|
default: 'false'
|
|
type: choice
|
|
options:
|
|
- 'false'
|
|
- 'true'
|
|
|
|
concurrency:
|
|
group: stale-issue-pr-ping
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
ping_stale:
|
|
name: "Ping stale issues and PRs"
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: read
|
|
issues: write
|
|
pull-requests: write
|
|
steps:
|
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
|
|
|
|
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
|
|
with:
|
|
python-version: '3.13'
|
|
|
|
- name: Install dependencies
|
|
run: pip install PyGithub==2.6.0
|
|
|
|
- name: Run stale issue/PR ping
|
|
run: python .github/scripts/stale_issue_pr_ping.py
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GH_ACTIONS_PR_WRITE }}
|
|
TEAM_SLUG: ${{ secrets.DEVELOPER_TEAM }}
|
|
DAYS_THRESHOLD: ${{ github.event.inputs.days_threshold || '4' }}
|
|
DRY_RUN: ${{ github.event.inputs.dry_run || 'false' }}
|