-
Notifications
You must be signed in to change notification settings - Fork 59
36 lines (33 loc) · 1.14 KB
/
project-management.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Project Management
on:
issues:
types: [opened, reopened]
release:
types: [published]
schedule:
- cron: '13 2 * * MON' # Run every Monday at 2:13 UTC
jobs:
assign_issue:
runs-on: ubuntu-latest
name: Assign Issue to a Project
if: github.event_name == 'issues'
steps:
- name: Assign NEW issues to project O11y Applications
uses: actions/add-to-project@main
with:
project-url: 'https://github.com/orgs/timescale/projects/54'
# PAT token is managed by @paulfantom
github-token: ${{ secrets.ORG_PROJECT_PAT }}
stale-issues-handler:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v7
with:
any-of-labels: 'needs-more-info,question'
stale-pr-label: 'stale'
exempt-all-milestones: true
days-before-stale: 30
days-before-close: 30
stale-issue-message: |
This issue went stale because it was not updated in a month. Please consider updating it to improve the quality of the project.
close-issue-message: 'This issue was closed because it has been stalled for 30 days with no activity.'