Skip to content

Commit

Permalink
Trigger workflows when workflow file itself changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardoboss committed Dec 16, 2023
1 parent 6e2f5af commit ada8a36
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/generate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Generate Mime Types
on:
push:
paths:
- ".github/workflows/generate.yml"
- "data/mime.types"
- "data/mime.types.custom"
- "stubs/mimeType.php.stub"
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Update Mime Types

on:
workflow_dispatch:
push:
paths:
- ".github/workflows/update.yml"
schedule:
- cron: "0 10 1 */3 *"

Expand Down

0 comments on commit ada8a36

Please sign in to comment.