Skip to content

Commit

Permalink
update ci; add shared stale and triage workflows (#46)
Browse files Browse the repository at this point in the history
secrets: inherit is needed in CI for the Slack notification that triggers on failure
  • Loading branch information
schoblaska authored May 28, 2024
1 parent def519b commit 8083218
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
name: CI

on: [push, pull_request]
on:
push:
branches:
- main
pull_request:

jobs:
call-workflow-from-shared-config:
uses: rubyatscale/shared-config/.github/workflows/ci.yml@main
secrets: inherit
8 changes: 8 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
name: 'Close stale issues and PRs'

on:
schedule:
- cron: '0 0 * * *'
jobs:
call-workflow-from-shared-config:
uses: rubyatscale/shared-config/.github/workflows/stale.yml@main
9 changes: 9 additions & 0 deletions .github/workflows/triage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: Label issues as "triage"

on:
issues:
types:
- opened
jobs:
call-workflow-from-shared-config:
uses: rubyatscale/shared-config/.github/workflows/triage.yml@main

0 comments on commit 8083218

Please sign in to comment.