-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from neurobagel/repo-sync/workflows/default
🔄 synced file(s) with neurobagel/workflows
- Loading branch information
Showing
2 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |