mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
ae40886a0d
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/51874 Follows D76037015 (and replaces D76129390, accidentally in the Metro repo 😅). Unfortunately, didn't seem to be caught in PR signals. Changelog: [Internal] Reviewed By: cipolleschi Differential Revision: D76133641 fbshipit-source-id: c5e6204dc6ea8d317dc94395430c6b07cf660a0b
21 lines
489 B
YAML
21 lines
489 B
YAML
name: Keep Github Actions Cache < 10GB
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
# Run every 2hrs during weekdays
|
|
- cron: "0 0/2 * * 1-5"
|
|
|
|
jobs:
|
|
cache-cleaner:
|
|
if: github.repository == 'facebook/react-native'
|
|
runs-on: ubuntu-latest
|
|
env:
|
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Setup Node.js
|
|
uses: ./.github/actions/setup-node
|
|
- name: Trim the cache
|
|
run: node scripts/clean-gha-cache.js
|