From f93cb2bd6d2124a3d83142549e9a1c25a79606ba Mon Sep 17 00:00:00 2001 From: Philip Hayton Date: Mon, 11 Dec 2023 11:32:03 +0000 Subject: [PATCH] docs: improve examples for gitlab (#1432) --- docs/_data/examples/ci/gitlab/diff-reviewdog.yaml | 2 ++ docs/_data/examples/ci/gitlab/diff.yaml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/docs/_data/examples/ci/gitlab/diff-reviewdog.yaml b/docs/_data/examples/ci/gitlab/diff-reviewdog.yaml index a233fd37e..5e6474337 100644 --- a/docs/_data/examples/ci/gitlab/diff-reviewdog.yaml +++ b/docs/_data/examples/ci/gitlab/diff-reviewdog.yaml @@ -1,4 +1,6 @@ bearer_mr: + only: + - merge_requests script: - curl -sfL https://raw.githubusercontent.com/Bearer/bearer/main/contrib/install.sh | sh -s -- -b /usr/local/bin - curl -sfL https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh | sh -s -- -b /usr/local/bin diff --git a/docs/_data/examples/ci/gitlab/diff.yaml b/docs/_data/examples/ci/gitlab/diff.yaml index 02bcea650..46d524d4d 100644 --- a/docs/_data/examples/ci/gitlab/diff.yaml +++ b/docs/_data/examples/ci/gitlab/diff.yaml @@ -1,4 +1,6 @@ bearer_mr: + only: + - merge_requests image: name: bearer/bearer entrypoint: [""]