mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
ee25081d20
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/45956 Fix typo in workflow name Changelog: [Internal] [Changed] - Fix typo in workflow name Reviewed By: cipolleschi Differential Revision: D61007940 fbshipit-source-id: 62f8e15503ed1d9668c097e8a4c2c552a6458a83
21 lines
483 B
YAML
21 lines
483 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: Use Node.js 18
|
|
uses: actions/setup-node@v4
|
|
- name: Trim the cache
|
|
run: node scripts/clean-gha-cache.js
|