diff --git a/.github/dependabot.yml b/.github/dependabot.yml index f499f24..4c82603 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -5,16 +5,15 @@ multi-ecosystem-groups: schedule: # Check for updates on the first Sunday of every month, 8PM UTC interval: "cron" - cronjob: "0 20 * * sun#1" - assignees: ["housekeeping"] + cronjob: "0 20 * * sun#2" updates: - package-ecosystem: "github-actions" directory: "/" patterns: ["*"] - multi_ecosystem_group: "dependencies" + multi-ecosystem-group: "dependencies" - package-ecosystem: "pip" directory: "/" patterns: ["*"] - multi_ecosystem_group: "dependencies" + multi-ecosystem-group: "dependencies" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..1d5a32f --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,26 @@ +name: CI +on: + pull_request: + push: + branches: + - main + workflow_call: + +# Cancel active CI runs for a PR before starting another run +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +defaults: + run: + shell: bash # https://github.com/beeware/briefcase/pull/912 + +env: + FORCE_COLOR: "1" + +jobs: + pre-commit: + name: Pre-commit checks + uses: beeware/.github/.github/workflows/pre-commit-run.yml@main + with: + pre-commit-source: "--group pre-commit" diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0e920ac..f5354ae 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -13,4 +13,4 @@ repos: rev: v0.0.155 hooks: - id: rumdl - args: [--force-exclude, --fix] + args: [--fix]