Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CircleCI Generated] update-vendor-7900 #353

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
create commit step in job
  • Loading branch information
dandimeo committed Oct 26, 2023
commit f342530a002bb0dafb82452acdc99e815e292231
17 changes: 17 additions & 0 deletions .circleci/base_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,23 @@ jobs:
rm -r vendor go.sum
go mod tidy
go mod vendor
- run:
name: Create PR with new vendor folder
command: |
cd docs-hugo/toolchain/arangoproxy
git checkout -b update-vendor-$CIRCLE_BUILD_NUM

git config user.email "[email protected]"
git config user.name "CircleCI Job"
git add vendor/
git commit --allow-empty -m "[skip ci] Update ArangoProxy vendor/ folder"

git push -u origin update-vendor-$CIRCLE_BUILD_NUM
curl -X POST https://candid-daffodil-f96315.netlify.app/.netlify/functions/circleci \
--header 'docs-webhook-event: scheduled-create-pr' \
--header "docs-branch-name: update-vendor-$CIRCLE_BUILD_NUM" \
--header "docs-pr-title: [CircleCI Generated] update-vendor-$CIRCLE_BUILD_NUM" \
--header "docs-pr-body: Automatically updated ArangoProxy vendor folder CircleCI << pipeline.parameters.workflow >> workflow"
- persist_to_workspace:
root: .
paths:
Expand Down