Skip to content

Commit

Permalink
chore: move v2 forward merge as a CodeBuild job (#10911)
Browse files Browse the repository at this point in the history
This will be moved to cdk-ops as a CodeBuild job. The benefits are that
(a) we can add alarms when this job fails, (b) it doesn't run (and fail)
on customers' Github forks and, (c) besides the scheduled runs it can
also be manually triggered.
  • Loading branch information
Niranjan Jayakar authored Oct 16, 2020
1 parent 895372f commit ddff369
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 29 deletions.
29 changes: 0 additions & 29 deletions .github/workflows/v2-merge-forward.yml

This file was deleted.

8 changes: 8 additions & 0 deletions scripts/merge-forward.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash
# Forward merge 'master' branch into 'v2-main' branch

set -exo pipefail

git fetch --all
git checkout -b v2-main origin/v2-main
git merge origin/master --no-edit

0 comments on commit ddff369

Please sign in to comment.