Skip to content
Open
Show file tree
Hide file tree
Changes from all 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
4 changes: 4 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: "Check with pre-commit"
permissions:
contents: read
on:
push:
branches: ["main"]
Expand All @@ -14,6 +16,8 @@ jobs:

steps:
- uses: "actions/checkout@v3"
with:
persist-credentials: false

- name: "Set up Python ${{ matrix.python-version }}"
uses: "actions/setup-python@v4"
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: "Release"
permissions:
contents: read
on:
release:
types:
Expand All @@ -10,6 +12,8 @@ jobs:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v3"
with:
persist-credentials: false

- name: "Set up Python"
uses: "actions/setup-python@v4"
Expand All @@ -23,6 +27,6 @@ jobs:
run: "python -m build"

- name: "Publish to PyPI"
uses: "pypa/gh-action-pypi-publish@release/v1"
uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4
with:
password: "${{ secrets.PYPI_TOKEN }}"
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: "Test"
permissions:
contents: read
on:
push:
branches: ["main"]
Expand All @@ -20,6 +22,8 @@ jobs:

steps:
- uses: "actions/checkout@v3"
with:
persist-credentials: false

- name: "Set up Python ${{ matrix.python-version }}"
uses: "actions/setup-python@v4"
Expand Down
Loading