Skip to content

Commit

Permalink
run the "stale" and "traige" workflows from rubyatscale/shared-config (
Browse files Browse the repository at this point in the history
…#48)

* run the actions/stale workflow defined in shared-config nightly

* add action to call shared-config triage workflow for new issues

* update CI config to only run on "push" events for main

* inherit secrets for ci config
  • Loading branch information
schoblaska authored May 17, 2024
1 parent 763fc7a commit 5e66636
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 5e66636

Please sign in to comment.