From 8ee953a957ae8bf04aee8cca39e49536da689e46 Mon Sep 17 00:00:00 2001 From: "E. Lee" Date: Fri, 8 Dec 2023 15:20:19 -0500 Subject: [PATCH] GitHub Actions: enable reusable workflows --- .github/workflows/ci.yml | 4 +++- .github/workflows/linkcheck.yml | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5ba021af0..25939d039 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,11 +1,13 @@ --- name: CI -on: [push, pull_request] +on: [push, pull_request, workflow_call] jobs: lint: runs-on: ubuntu-latest + # We use a standard Debian image to mirror a typical developer environment. + # This should be updated whenever a new Debian stable version is available. container: debian:bullseye steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/linkcheck.yml b/.github/workflows/linkcheck.yml index 73291619a..3728b7757 100644 --- a/.github/workflows/linkcheck.yml +++ b/.github/workflows/linkcheck.yml @@ -4,10 +4,13 @@ name: Link check on: schedule: - cron: '0 3 * * *' + workflow_call: jobs: linkcheck: runs-on: ubuntu-latest + # We use a standard Debian image to mirror a typical developer environment. + # This should be updated whenever a new Debian stable version is available. container: debian:bullseye steps: - uses: actions/checkout@v3