From 368b448f2b0a6dc5d47e33f41a4a9aaaf224094d Mon Sep 17 00:00:00 2001 From: Sebastian Spaink <3441183+sspaink@users.noreply.github.com> Date: Tue, 19 Apr 2022 10:27:31 -0500 Subject: [PATCH] chore: update pull request with master when running CI (#10993) --- .circleci/config.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index c0b31b768..9242b3a79 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -37,6 +37,14 @@ commands: check-changed-files-or-halt: steps: - run: ./scripts/check-file-changes.sh + rebase-on-master: + steps: + - run: | + git config --global user.email "telegraf@influxdb.com" + git config --global user.name "telegraf" + git remote add upstream https://github.com/influxdata/telegraf + git fetch upstream + git rebase upstream/master test-go: parameters: os: @@ -54,6 +62,7 @@ commands: steps: - checkout - check-changed-files-or-halt + - rebase-on-master - when: condition: equal: [ linux, << parameters.os >> ] @@ -131,6 +140,7 @@ commands: steps: - checkout - check-changed-files-or-halt + - rebase-on-master - attach_workspace: at: '/go' - when: