/
githubmr
/
facebook-react-native
Обзор
Документация
Войти
/
githubmr
/
facebook-react-native
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
main
.github/workflows/validate-dotslash-artifacts.yml
49 строк
1 KB
Riccardo Cipolleschi
Make sure we don't run RN CI on forks (#53707)
10 сен 2025, 14:49
10 сен 2025, 14:49
6c49572
Код
Авторство
О чём код?
name: Validate DotSlash Artifacts on: workflow_dispatch: release: types: [published] push: branches: - main paths: - packages/debugger-shell/bin/react-native-devtools - "scripts/releases/**" - package.json - yarn.lock pull_request: branches: - main paths: - packages/debugger-shell/bin/react-native-devtools - "scripts/releases/**" - package.json - yarn.lock # Same time as the nightly build: 2:15 AM UTC schedule: - cron: "15 2 * * *" jobs: validate-dotslash-artifacts: runs-on: ubuntu-latest if: github.repository == 'facebook/react-native' steps: - name: Checkout repository uses: actions/checkout@v4 with: fetch-depth: 0 fetch-tags: true - name: Install dependencies uses: ./.github/actions/yarn-install - name: Configure Git shell: bash run: | git config --local user.email "bot@reactnative.dev" git config --local user.name "React Native Bot" - name: Validate DotSlash artifacts uses: actions/github-script@v6 with: script: | const {validateDotSlashArtifacts} = require('./scripts/releases/validate-dotslash-artifacts.js'); await validateDotSlashArtifacts();