Skip to content

Commit

Permalink
Misc: add a scheduled cron job to trigger stale workflow on raycast/e…
Browse files Browse the repository at this point in the history
…xtensions repository
  • Loading branch information
grzegorzkrukowski committed Aug 30, 2024
0 parents commit 1b096e8
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Trigger "Close stale issues and PRs" on raycast/extensions

on:
workflow_dispatch:
schedule:
- cron: "0 * * * *"

jobs:
trigger:
runs-on: ubuntu-latest
steps:
- name: Trigger Repository Dispatch
env:
GH_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
run: |
gh api repos/raycast/extensions/dispatches --method POST -f event_type='trigger-stale-workflow'

0 comments on commit 1b096e8

Please sign in to comment.