Skip to content

Commit

Permalink
Merge pull request #4 from neurobagel/repo-sync/workflows/default
Browse files Browse the repository at this point in the history
🔄 synced file(s) with neurobagel/workflows
  • Loading branch information
surchs authored Nov 2, 2023
2 parents b35a9f1 + 7f2e3f8 commit 3cd4149
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/add_iss2project.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Add new issues to project

on:
issues:
types:
- opened

jobs:
add-to-project:
name: Add issue to project
runs-on: ubuntu-latest
steps:
- uses: actions/add-to-project@main
with:
project-url: https://github.com/orgs/neurobagel/projects/1
github-token: ${{ secrets.NB_PROJECT_PAT }}
24 changes: 24 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: 'Close stale issues and PRs'
on:
schedule:
- cron: '30 1 * * *'

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v8
with:
stale-issue-message: |
We want to keep our issues up to date and active. This issue hasn't seen any activity in the last 75 days.
We have applied the `_flag:stale` label to indicate that this issue should be reviewed again.
When you review, please reread the spec and then apply one of these three options:
- prioritize: apply the `flag:schedule` label to suggest moving this issue into the backlog now
- close: if the issue is no longer relevant, explain why (give others a chance to reply) and then close.
- archive: sometimes an issue has important information or ideas but we won't work on it soon. In this case
apply the `someday` label to show that this won't be prioritized. The stalebot will ignore issues with this
label in the future. Use sparingly!
days-before-stale: 75
days-before-close: -1
stale-issue-label: '_flag:stale'
exempt-issue-labels: 'Roadmap,Milestone,Epic,someday'

0 comments on commit 3cd4149

Please sign in to comment.