diff --git a/.github/workflows/monitor-new-issues.yml b/.github/workflows/monitor-new-issues.yml new file mode 100644 index 00000000000..726d03682db --- /dev/null +++ b/.github/workflows/monitor-new-issues.yml @@ -0,0 +1,27 @@ +name: Monitor React Native New Issues + +on: + schedule: + - cron: "0 */6 * * *" + workflow_dispatch: + +jobs: + monitor-issues: + runs-on: ubuntu-latest + steps: + - name: Set up Node.js + uses: actions/setup-node@v4 + with: + node-version: '20' + - name: Monitor New Issues + uses: react-native-community/repo-monitor@v1.0.0 + with: + task: "monitor-issues" + git_secret: ${{ secrets.GITHUB_TOKEN }} + notifier: "discord" + fetch_data_interval: 6 + repo_owner: "facebook" + repo_name: "react-native" + discord_webhook_url: "${{ secrets.DISCORD_WEBHOOK_URL }}" + discord_id_type: "role" + discord_ids: "1295340673779630141"