/
githubmirror
/
react-native
Обзор
Документация
Войти
/
githubmirror
/
react-native
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
.github/workflows/monitor-new-issues.yml
41 строка
1 KB
Rob Hogan
Apply prettier to .yml files + consistent quote style (#57286)
19 июн 2026, 17:03
19 июн 2026, 17:03
738839c
Код
Авторство
О чём код?
name: Monitor React Native New Issues on: schedule: - cron: '0 0,6,12,18 * * *' workflow_dispatch: # Reminder for when we have to update the schedule (before Jan 2026): # the secrets.ONCALL_SCHEDULE secret must be on a single line and must have all the `"` escaped as `\"`. # Only a meta engineer can update it through the OSS internal portal. jobs: monitor-issues: runs-on: ubuntu-latest if: github.repository == 'react/react-native' steps: - name: Checkout uses: actions/checkout@v6 - name: Set up Node.js uses: ./.github/actions/setup-node - name: Install dependencies uses: ./.github/actions/yarn-install - name: Extract next oncall run: | ONCALLS=$(node ./.github/workflow-scripts/extractIssueOncalls.js "${{ secrets.ONCALL_SCHEDULE }}") ONCALL1=$(echo $ONCALLS | cut -d ' ' -f 1) ONCALL2=$(echo $ONCALLS | cut -d ' ' -f 2) echo "oncall1=$ONCALL1" >> $GITHUB_ENV echo "oncall2=$ONCALL2" >> $GITHUB_ENV - name: Monitor New Issues uses: react-native-community/repo-monitor@v1.0.1 with: task: 'monitor-issues' git_secret: ${{ secrets.GITHUB_TOKEN }} notifier: 'discord' fetch_data_interval: 6 repo_owner: 'react' repo_name: 'react-native' discord_webhook_url: '${{ secrets.DISCORD_WEBHOOK_URL }}' discord_id_type: 'user' discord_ids: '${{ env.oncall1 }},${{ env.oncall2 }}'