diff --git a/.github/workflows/pr-comment-bot.yml b/.github/workflows/pr-comment-bot.yml index 332622978..b5dbc14eb 100644 --- a/.github/workflows/pr-comment-bot.yml +++ b/.github/workflows/pr-comment-bot.yml @@ -1,20 +1,23 @@ -name: PR comment bot +name: PR Comment Bot on: issue_comment: types: [created] + jobs: pr-comment: - if: ${{ github.event.issue.pull_request }} + if : ${{ github.event.issue.pull_request}} runs-on: ubuntu-latest + env: + BOT_GH_TOKEN: ${{ secrets.BOT_GH_TOKEN }} steps: - uses: actions/checkout@v4 - # see list of commands: https://github.com/sendbird/release-automation-action#commands - uses: sendbird/release-automation-action@latest with: - gh_token: ${{ secrets.GITHUB_TOKEN }} + gh_token: ${{ env.BOT_GH_TOKEN }} product: 'uikit' platform: 'js' framework: 'react' product_jira_project_key: 'UIKIT' product_jira_version_prefix: 'js_uikit' ci: 'github' + \ No newline at end of file