This repository has been archived by the owner on May 2, 2024. It is now read-only.
rstudio@daily: migrate #10272
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Triage tasks | |
on: pull_request_target | |
concurrency: | |
group: "triage-${{ github.event.number }}" | |
cancel-in-progress: true | |
permissions: | |
contents: read | |
pull-requests: write | |
jobs: | |
limit-pull-requests: | |
if: > | |
always() && github.repository_owner == 'Homebrew' && | |
(github.event_name == 'pull_request_target' && | |
github.event.action == 'opened') | |
runs-on: ubuntu-latest | |
steps: | |
- uses: Homebrew/actions/limit-pull-requests@master | |
with: | |
except-users: | | |
BrewTestBot | |
comment-limit: 15 | |
comment: | | |
Hi, thanks for your contribution to Homebrew! You already have >=15 open pull requests, so please get them ready to be merged or close them before you open more. If CI fails on any of them, please fix it or ask for help doing so. | |
If you are performing simple version bumps, @BrewTestBot automatically bumps [a list of casks](https://github.com/${{ github.repository }}/blob/HEAD/.github/autobump.txt) so you don't need to. Please take a look at issues and pull requests labelled https://github.com/${{ github.repository }}/labels/help%20wanted and see if you can help to fix any of them. Thanks! | |
close-limit: 30 | |
close: true | |
triage: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check commit format | |
uses: Homebrew/actions/check-commit-format@master | |
with: | |
token: ${{secrets.HOMEBREW_GITHUB_PUBLIC_REPO_TOKEN}} | |
- name: Label pull request | |
uses: Homebrew/actions/label-pull-requests@master | |
if: always() | |
with: | |
token: ${{secrets.HOMEBREW_GITHUB_PUBLIC_REPO_TOKEN}} | |
def: | | |
- label: cask deprecated | |
path: Cask/.+ | |
content: \n deprecate!.*\n | |
- label: cask disabled | |
path: Cask/.+ | |
content: \n disable!.*\n | |
- label: new cask | |
status: added | |
path: Casks/.+ | |
- label: marked for removal/rejection | |
status: removed | |
path: Casks/.+ | |
- label: documentation | |
path: (.*\.md|\.github/ISSUE_TEMPLATE/.*\.yml) | |
- label: bump-cask-pr | |
pr_body_content: Created with `brew bump-cask-pr` | |
- label: missing description | |
path: Casks/.+ | |
missing_content: \n desc .+\n | |
- label: extract_plist livecheck | |
path: Casks/.+ | |
content: \n strategy :extract_plist.*\n | |
- label: missing zap | |
path: Casks/.+ | |
missing_content: zap .+\n | |
- label: autobump | |
path: \.github/autobump\.txt | |
allow_any_match: true |