Skip to content

Commit

Permalink
Use cron triggers
Browse files Browse the repository at this point in the history
  • Loading branch information
Danny McCormick committed Aug 28, 2019
1 parent 989d385 commit 375fca6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@ label3:
Then create a workflow:
```
name: "Pull Request Labeler"
on:
- pull_request
on:
schedule:
- cron: "0 * * * *"
jobs:
triage:
Expand Down

2 comments on commit 375fca6

@flexzuu
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@damccorm Is there a specific reason you switched to a cron? to me labelling based on the on: pull_request seems more solid in theory but I could not get it to label stuff anyways.

@damccorm
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, shouldn't have actually done that yet in retrospect. Was reactionary to #12, but we're not actually ready for that yet. Will follow up there.

Please sign in to comment.