Skip to content

Commit dfde44a

Browse files
authored
Merge pull request juju#18427 from Aflynn50/make-docs-job-periodic
juju#18427 This job was running on every push to every pull request. Make it periodic as its quite expensive. Also move to the self hosted runners. <!-- The PR title should match: <type>(optional <scope>): <description>. Please also ensure all commits in this PR comply with our conventional commits specification: https://docs.google.com/document/d/1SYUo9G7qZ_jdoVXpUVamS5VCgHmtZ0QA-wZxKoMS-C0 --> <!-- Why this change is needed and what it does. --> ## QA steps Check workflow when it runs. (Workflow has been passing on every PR before so is in good state.) <!-- Describe steps to verify that the change works. -->
2 parents cdb5fe4 + 30bfabc commit dfde44a

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/docs-sphinx-python-dependency-build-checks.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,10 @@
1111
# succeed.
1212
name: Check and document build requirements for Sphinx venv
1313
on:
14-
- push
15-
- pull_request
16-
- workflow_dispatch
14+
schedule:
15+
- cron: "0 2 * * 1,5" # Runs at 02:00 AM on every Monday and Friday.
16+
workflow_dispatch:
17+
1718

1819
concurrency:
1920
group: ${{ github.workflow }}-${{ github.ref }}
@@ -22,7 +23,7 @@ concurrency:
2223
jobs:
2324
build:
2425
name: build
25-
runs-on: ubuntu-latest
26+
runs-on: [linux, self-hosted, x64, large, jammy]
2627
steps:
2728
- name: Checkout code
2829
uses: actions/checkout@v4

0 commit comments

Comments
 (0)