Skip to content

Commit

Permalink
build: run workflows on a schedule instead of due to merged PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
Planeshifter committed Aug 2, 2024
1 parent 1c46d43 commit 9dae02f
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 33 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/markdown_equations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,12 @@ name: markdown_equations

# Workflow triggers:
on:
pull_request_target:
branches:
- develop
types:
- closed
paths:
# List paths for which changes should trigger this workflow:
- 'lib/**/*.md'
schedule:
# Run the workflow once a day at 2:00 AM UTC:
- cron: '0 2 * * *'

# Allow the workflow to be manually run:
workflow_dispatch:

# Global permissions:
permissions:
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/markdown_tocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,9 @@ name: markdown_tocs

# Workflow triggers:
on:
pull_request_target:
branches:
- develop
types:
- closed
schedule:
# Run the workflow once a day at 2:00 AM UTC:
- cron: '0 2 * * *'

# Allow the workflow to be manually run:
workflow_dispatch:
Expand Down
11 changes: 3 additions & 8 deletions .github/workflows/namespace_declarations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,9 @@ name: namespace_declarations

# Workflow triggers:
on:
pull_request_target:
branches:
- develop
types:
- closed
paths:
# List paths for which changes should trigger this workflow:
- 'lib/**/types/index.d.ts'
schedule:
# Run the workflow once a day at 2:00 AM UTC:
- cron: '0 2 * * *'

# Allow the workflow to be manually run:
workflow_dispatch:
Expand Down
15 changes: 3 additions & 12 deletions .github/workflows/update_repl_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,9 @@ name: update_repl_docs

# Workflow triggers:
on:
pull_request_target:
branches:
- develop
types:
- closed
paths:
# List paths for which changes should trigger this workflow:
- 'lib/**/namespace/lib/**'
- 'lib/**/docs/repl.txt'

# List paths for which changes should *not* trigger this workflow:
- '!lib/**/_tools/**'
schedule:
# Run the workflow once a day at 2:00 AM UTC:
- cron: '0 2 * * *'

# Allow the workflow to be manually run:
workflow_dispatch:
Expand Down

0 comments on commit 9dae02f

Please sign in to comment.