From 17ff0b53f481e0b0eb623d7bc6a7b7e1bcf236ea Mon Sep 17 00:00:00 2001 From: Kenneth Yang Date: Sun, 11 Feb 2024 12:50:17 -0800 Subject: [PATCH] Group updates --- .github/dependabot.yml | 8 ++++++++ .github/workflows/autoformat-and-lint.yml | 1 + .github/workflows/build.yml | 2 +- 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 2a54f24..0d88c53 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -9,7 +9,15 @@ updates: directory: "/" # Location of package manifests schedule: interval: "weekly" + groups: + pub: + patterns: + - '*' - package-ecosystem: "github-actions" # See documentation for possible values directory: ".github/workflows" # Location of package manifests schedule: interval: "weekly" + groups: + github: + patterns: + - '*' diff --git a/.github/workflows/autoformat-and-lint.yml b/.github/workflows/autoformat-and-lint.yml index dad2dea..77c979e 100644 --- a/.github/workflows/autoformat-and-lint.yml +++ b/.github/workflows/autoformat-and-lint.yml @@ -43,6 +43,7 @@ jobs: run: dart fix --apply - name: ✅ Commit code format changes + if: github.ref != 'refs/heads/main' uses: stefanzweifel/git-auto-commit-action@v5 with: commit_message: "Autoformat code" diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 676cc9e..2f74ea6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -4,7 +4,7 @@ on: push: branches: - main - pull_request: + pull_request: jobs: macos: