Error in Generating Release Notes on RC Release PR when created from fork #4344
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
name: radius-bot | |
on: | |
issue_comment: | |
types: [created] | |
jobs: | |
radius-bot: | |
name: Run Radius Bot script | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
with: | |
sparse-checkout: | | |
.github/scripts/radius-bot.js | |
sparse-checkout-cone-mode: false | |
- name: Comment analyzer | |
uses: actions/github-script@v6 | |
env: | |
TEAM_SLUG: 'approvers-radius' | |
with: | |
github-token: ${{ secrets.GH_RAD_CI_BOT_PAT }} | |
script: | | |
const script = require('./.github/scripts/radius-bot.js') | |
await script({github, context}) |