mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
7c0c9a2b93
Summary: Just doing some cleanup of the `.github/workflows` folder: * apply-version-label-issue.yml hasn't been working since 0.72 * ios-tests is unnecessary as it's now covered by test-all * nightlies-feedback.yml was experimental and last execution was ~5 months ago. We can still recover them from the Git history if necessary. ## Changelog: [INTERNAL] - Cleanup the .github/workflows folder Pull Request resolved: https://github.com/facebook/react-native/pull/44857 Test Plan: Will wait for CI result Reviewed By: NickGerleman Differential Revision: D58362912 Pulled By: cortinico fbshipit-source-id: d886e4f077eebfdf906169f09f96a950a361cab7
78 lines
4.3 KiB
YAML
78 lines
4.3 KiB
YAML
name: Stale bot
|
|
on:
|
|
schedule:
|
|
- cron: "*/10 5 * * *"
|
|
jobs:
|
|
stale:
|
|
runs-on: ubuntu-latest
|
|
if: github.repository == 'facebook/react-native'
|
|
permissions:
|
|
issues: write
|
|
pull-requests: write
|
|
steps:
|
|
- uses: actions/stale@v9
|
|
with:
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
days-before-stale: 180
|
|
stale-issue-message: 'This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days.'
|
|
stale-pr-message: 'This PR is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days.'
|
|
close-issue-message: 'This issue was closed because it has been stalled for 7 days with no activity.'
|
|
close-pr-message: 'This PR was closed because it has been stalled for 7 days with no activity.'
|
|
exempt-issue-labels: 'Help Wanted :octocat:, Good first issue, Never gets stale, Issue: Author Provided Repro'
|
|
exempt-pr-labels: 'Help Wanted :octocat:, Never gets stale'
|
|
stale-asc:
|
|
runs-on: ubuntu-latest
|
|
if: github.repository == 'facebook/react-native'
|
|
permissions:
|
|
issues: write
|
|
pull-requests: write
|
|
steps:
|
|
- uses: actions/stale@v9
|
|
with:
|
|
ascending: true
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
days-before-stale: 180
|
|
stale-issue-message: 'This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days.'
|
|
stale-pr-message: 'This PR is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days.'
|
|
close-issue-message: 'This issue was closed because it has been stalled for 7 days with no activity.'
|
|
close-pr-message: 'This PR was closed because it has been stalled for 7 days with no activity.'
|
|
exempt-issue-labels: 'Help Wanted :octocat:, Good first issue, Never gets stale, Issue: Author Provided Repro'
|
|
exempt-pr-labels: 'Help Wanted :octocat:, Never gets stale'
|
|
stale-needs-author-feedback:
|
|
runs-on: ubuntu-latest
|
|
if: github.repository == 'facebook/react-native'
|
|
permissions:
|
|
issues: write
|
|
pull-requests: write
|
|
steps:
|
|
- uses: actions/stale@v9
|
|
with:
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
any-of-labels: 'Needs: Author Feedback'
|
|
days-before-stale: 24
|
|
stale-issue-message: "This issue is waiting for author's feedback since 24 days. Please provide the requested feedback or this will be closed in 7 days."
|
|
stale-pr-message: "This PR is waiting for author's feedback since 24 days. Please provide the requested feedback or this will be closed in 7 days"
|
|
close-issue-message: "This issue was closed because the author hasn't provided the requested feedback after 7 days."
|
|
close-pr-message: "This PR was closed because the author hasn't provided the requested feedback after 7 days."
|
|
exempt-issue-labels: "Help Wanted :octocat:, Good first issue, Never gets stale, Issue: Author Provided Repro"
|
|
exempt-pr-labels: "Help Wanted :octocat:, Never gets stale"
|
|
stale-needs-author-feedback-asc:
|
|
runs-on: ubuntu-latest
|
|
if: github.repository == 'facebook/react-native'
|
|
permissions:
|
|
issues: write
|
|
pull-requests: write
|
|
steps:
|
|
- uses: actions/stale@v9
|
|
with:
|
|
ascending: true
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
any-of-labels: 'Needs: Author Feedback'
|
|
days-before-stale: 24
|
|
stale-issue-message: "This issue is waiting for author's feedback since 24 days. Please provide the requested feedback or this will be closed in 7 days."
|
|
stale-pr-message: "This PR is waiting for author's feedback since 24 days. Please provide the requested feedback or this will be closed in 7 days"
|
|
close-issue-message: "This issue was closed because the author hasn't provided the requested feedback after 7 days."
|
|
close-pr-message: "This PR was closed because the author hasn't provided the requested feedback after 7 days."
|
|
exempt-issue-labels: "Help Wanted :octocat:, Good first issue, Never gets stale, Issue: Author Provided Repro"
|
|
exempt-pr-labels: "Help Wanted :octocat:, Never gets stale"
|