Skip to content

Commit e5104f3

Browse files
authored
Update pr-comment-bot.yml (#1375)
## For Internal Contributors * Follow the [Scaled Trunk-Based Development workflow](https://trunkbaseddevelopment.com/) * Branch naming format: `{type}/TICKET_ID/description` * Type: `feat` / `fix` / `chore` / `doc` / `release` * Receive PR review approvals * Rebase your branch with the main branch and wait for CI to pass * Squash merge your commit * Use imperative language in the title and description * Follow the provided template for PR description and squashing ### Template ``` // PR title (Required) [type]: A short description of the changes in imperative language. // PR description (Optional) Add a brief description of the changes in this PR. Bullet points are also fine. // Footer (Recommended) Fixes [<TICKET_ID>](https://sendbird.atlassian.net/browse/<TICKET_ID>) // Changelogs (Recommended) // Add (internal) at the end of each changelog if internal. ### Changelogs // Co-authors // Add this if you pair programmed or they made significant contributions to the ideas in the code and you want to thank them. Co-authored-by: Name name@example.com, Name2 name@example.com ``` ### Checklist Put an `x` in the boxes that apply. You can also fill these out after creating the PR. If unsure, ask the members. This is a reminder of what we look for before merging your code. - [ ] **All tests pass locally with my changes** - [ ] **I have added tests that prove my fix is effective or that my feature works** - [ ] **Public components / utils / props are appropriately exported** - [ ] I have added necessary documentation (if appropriate) ## External Contributions This project is not yet set up to accept pull requests from external contributors. If you have a pull request that you believe should be accepted, please contact the Developer Relations team <developer-advocates@sendbird.com> with details and we'll evaluate if we can set up a [CLA](https://en.wikipedia.org/wiki/Contributor_License_Agreement) to allow for the contribution.
1 parent 97d4fbb commit e5104f3

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed
Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,23 @@
1-
name: PR comment bot
1+
name: PR Comment Bot
22
on:
33
issue_comment:
44
types: [created]
5+
56
jobs:
67
pr-comment:
7-
if: ${{ github.event.issue.pull_request }}
8+
if : ${{ github.event.issue.pull_request}}
89
runs-on: ubuntu-latest
10+
env:
11+
BOT_GH_TOKEN: ${{ secrets.BOT_GH_TOKEN }}
912
steps:
1013
- uses: actions/checkout@v4
11-
# see list of commands: https://github.com/sendbird/release-automation-action#commands
1214
- uses: sendbird/release-automation-action@latest
1315
with:
14-
gh_token: ${{ secrets.GITHUB_TOKEN }}
16+
gh_token: ${{ env.BOT_GH_TOKEN }}
1517
product: 'uikit'
1618
platform: 'js'
1719
framework: 'react'
1820
product_jira_project_key: 'UIKIT'
1921
product_jira_version_prefix: 'js_uikit'
2022
ci: 'github'
23+

0 commit comments

Comments
 (0)