From c3ed790b50f8a9f8812357c25e0baa32884e759a Mon Sep 17 00:00:00 2001
From: Abhishek Pandey <64667840+1abhishekpandey@users.noreply.github.com>
Date: Mon, 17 Jun 2024 14:05:26 +0530
Subject: [PATCH] chore: update pr_reviewer and assignees to
@rudderlabs/sdk-ios (#518)
---
.github/ISSUE_TEMPLATE/bug_report.md | 2 +-
.github/workflows/draft-new-release-v2.yml | 13 ++++++-------
2 files changed, 7 insertions(+), 8 deletions(-)
diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md
index e0eecd98..f3391c4f 100644
--- a/.github/ISSUE_TEMPLATE/bug_report.md
+++ b/.github/ISSUE_TEMPLATE/bug_report.md
@@ -3,7 +3,7 @@ name: Bug report
about: Create a report to help us improve
title: "BUG :
"
labels: bug, open source
-assignees: pallabmaiti
+assignees: "@rudderlabs/sdk-ios"
---
**Describe the bug**
diff --git a/.github/workflows/draft-new-release-v2.yml b/.github/workflows/draft-new-release-v2.yml
index a1ca6853..03fa7c53 100644
--- a/.github/workflows/draft-new-release-v2.yml
+++ b/.github/workflows/draft-new-release-v2.yml
@@ -1,7 +1,6 @@
name: Draft new release(v2)
-on:
- workflow_dispatch
+on: workflow_dispatch
jobs:
draft-new-release:
@@ -18,7 +17,7 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 16
-
+
# In order to make a commit, we need to initialize a user.
# You may choose to write something less generic here if you want, it doesn't matter functionality wise.
- name: Initialize mandatory git config
@@ -39,7 +38,7 @@ jobs:
git fetch --tags origin
git merge origin/master-v2
current_version=$(jq -r .version package.json)
-
+
npx standard-version --skip.commit --skip.tag --skip.changelog
new_version=$(jq -r .version package.json)
git reset --hard
@@ -53,7 +52,7 @@ jobs:
echo "New release branch name is $branch_name"
git checkout -b "$branch_name"
git push --set-upstream origin "$branch_name"
-
+
echo "source_branch_name=$source_branch_name" >> $GITHUB_OUTPUT
echo "branch_name=$branch_name" >> $GITHUB_OUTPUT
echo "new_version=$new_version" >> $GITHUB_OUTPUT
@@ -84,8 +83,8 @@ jobs:
uses: repo-sync/pull-request@v2
with:
source_branch: ${{ steps.create-release.outputs.branch_name }}
- destination_branch: 'master-v2'
+ destination_branch: "master-v2"
github_token: ${{ secrets.PAT }}
pr_title: "chore(release): pulling ${{ steps.create-release.outputs.branch_name }} into master"
pr_body: ":crown: *An automated PR*\n\n${{ steps.finish-release.outputs.commit_summary }}"
- pr_reviewer: 'pallabmaiti'
+ pr_reviewer: "@rudderlabs/sdk-ios"