Skip to content
Open
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/" # Location of your workflow files
schedule:
interval: "weekly" # Options: daily, weekly, monthly
6 changes: 5 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: Docs
permissions:
contents: read

on: [push, pull_request]

Expand All @@ -8,6 +10,8 @@ jobs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
- name: Install Python dependencies
run: pip install -r requirements-doc.txt

Expand All @@ -17,7 +21,7 @@ jobs:
run: make -Cdoc html
- name: Publish
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@373f7f263a76c20808c831209c920827a82a2847 # v3
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also outdated, but can set the comment to v3.9.3 to match the commit ref.

with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./doc/build/html
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/testing.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: Unit Tests
permissions:
contents: read

on:
push:
Expand All @@ -19,6 +21,7 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 0
persist-credentials: false

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
Expand All @@ -41,4 +44,4 @@ jobs:
coverage report

- name: Upload code coverage
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@29386c70ef20e286228c72b668a06fd0e8399192 # v1
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is pretty outdated, since it's at v5 now, but if you don't want to update it here, probably set the comment to v1.5.2 so that dependabot will update to specific versions instead of the major version.

Loading