diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..d49e465 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,16 @@ +version: 2 +updates: + # Covers .github/workflows/*.yml and the root composite action.yml. + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" + groups: + actions: + patterns: ["*"] + + # Runtime is stdlib-only; this watches the optional extras and any future pins. + - package-ecosystem: "pip" + directory: "/" + schedule: + interval: "weekly" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e7cca5b..3231624 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,6 +5,9 @@ on: branches: [main] pull_request: +permissions: + contents: read + jobs: gates: name: gates (py${{ matrix.python-version }}) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index baf2c63..9c56903 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -4,6 +4,9 @@ on: push: tags: ["v*"] +permissions: + contents: read + jobs: build: runs-on: ubuntu-latest