From 7401061b3740d20603a71de0c9dadaf76df5c57f Mon Sep 17 00:00:00 2001 From: Aleksandr Razumov Date: Tue, 14 Nov 2023 01:31:49 +0300 Subject: [PATCH] ci: split and group --- .github/dependabot.yml | 4 ++++ .github/workflows/pr.yml | 15 +++++++++++++++ .github/workflows/x.yml | 4 ---- 3 files changed, 19 insertions(+), 4 deletions(-) create mode 100644 .github/workflows/pr.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 20d5f35c..61c43c43 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -4,6 +4,10 @@ updates: directory: "/" schedule: interval: daily + groups: + opentelemetry: + patterns: + - "go.opentelemetry.io/*" - package-ecosystem: github-actions directory: "/" schedule: diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml new file mode 100644 index 00000000..190dfa13 --- /dev/null +++ b/.github/workflows/pr.yml @@ -0,0 +1,15 @@ +name: pr + +on: + push: + pull_request: + +# Common Go workflows from go faster +# See https://github.com/go-faster/x +jobs: + test: + uses: go-faster/x/.github/workflows/main.yml@main + lint: + uses: go-faster/x/.github/workflows/lint.yml@main + commit: + uses: go-faster/x/.github/workflows/commit.yml@main diff --git a/.github/workflows/x.yml b/.github/workflows/x.yml index 5e59f6a1..1a499537 100644 --- a/.github/workflows/x.yml +++ b/.github/workflows/x.yml @@ -3,15 +3,11 @@ name: x on: push: branches: [main] - pull_request: - workflow_dispatch: # Common Go workflows from go faster # See https://github.com/go-faster/x jobs: test: uses: go-faster/x/.github/workflows/test.yml@main - commit: - uses: go-faster/x/.github/workflows/commit.yml@main lint: uses: go-faster/x/.github/workflows/lint.yml@main