-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add PR description when creating PR for module version bump (#205)
Add PR desc when creating PR for version bump
- Loading branch information
Showing
1 changed file
with
6 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
name: Auto update chart/resources | ||
|
||
env: | ||
ORG: kyma-project | ||
KYMA_ORG: kyma-project | ||
SAP_ORG: SAP | ||
BTP_MANAGER_REPO: btp-manager | ||
SAP_BTP_SERVICE_OPERATOR_REPO: sap-btp-service-operator | ||
GIT_EMAIL: [email protected] | ||
GIT_NAME: kyma-btp-manager-bot | ||
on: | ||
|
@@ -97,9 +99,9 @@ jobs: | |
git add controllers/btpoperator_controller.go | ||
git add config/rbac/role.yaml | ||
git commit -m "$MSG" | ||
git remote set-url origin https://x-access-token:${{ secrets.BOT_TOKEN }}@github.com/$ORG/$BTP_MANAGER_REPO.git | ||
git remote set-url origin https://x-access-token:${{ secrets.BOT_TOKEN }}@github.com/$KYMA_ORG/$BTP_MANAGER_REPO.git | ||
git push --set-upstream origin $BRANCH_NAME -f | ||
pr_link=$(gh pr create -B main --title "$MSG" --body "" | tail -n 1) | ||
pr_link=$(gh pr create -B main --title "$MSG" --body "https://github.com/$SAP_ORG/$SAP_BTP_SERVICE_OPERATOR_REPO/releases/tag/$TAG" | tail -n 1) | ||
echo "received PR link ${pr_link}" | ||
# link the PR from ^^ to gopher project board | ||
|
@@ -140,4 +142,4 @@ jobs: | |
)" | ||
env: | ||
GH_TOKEN: ${{ secrets.BOT_TOKEN }} | ||
GH_TOKEN: ${{ secrets.BOT_TOKEN }} |