diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index e055d2f..60f5da0 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -19,6 +19,10 @@ jobs: - run: pip install tox - name: Build docs + uses: actions/checkout@v3 + with: + ref: ${{ github.head_ref }} + fetch-depth: 0 run: tox -e docs - name: Deploy docs diff --git a/devtools/check_changelog.py b/devtools/check_changelog.py index 06256e6..6643e40 100644 --- a/devtools/check_changelog.py +++ b/devtools/check_changelog.py @@ -19,6 +19,7 @@ class ChangelogError(Exception): folder = Path(__file__).resolve().parents[1] changelog = Path("docs", "CHANGELOG.rst") +contributing = Path("docs", "CONTRIBUTING.rst") repo = git.Repo(folder)