Sync triage workflow between cask repos (#105636)
This commit is contained in:
parent
df73fcf18b
commit
e8e9577c31
|
@ -19,7 +19,7 @@ puts 'Detecting changes…'
|
|||
'.github/*.md',
|
||||
'.github/*.yml',
|
||||
'.github/ISSUE_TEMPLATE/*.{md,yml}',
|
||||
'.github/workflows/{cache,ci,dispatch-command,rebase,rerun-workflow,review,self-approve}.yml',
|
||||
'.github/workflows/{cache,ci,dispatch-command,rebase,rerun-workflow,review,self-approve,triage}.yml',
|
||||
'.gitignore',
|
||||
'.travis.yml',
|
||||
'Casks/.rubocop.yml',
|
||||
|
|
|
@ -1,21 +0,0 @@
|
|||
name: Review
|
||||
|
||||
on: pull_request_target
|
||||
|
||||
jobs:
|
||||
review:
|
||||
if: startsWith(github.repository, 'Homebrew/')
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Label Pull Request
|
||||
uses: Homebrew/actions/label-pull-requests@master
|
||||
with:
|
||||
token: ${{ secrets.HOMEBREW_GITHUB_PUBLIC_REPO_TOKEN }}
|
||||
def: |
|
||||
[
|
||||
{
|
||||
"label": "documentation",
|
||||
"path": "(.*\\.md|\\.github/ISSUE_TEMPLATE/.*\\.yml)"
|
||||
}
|
||||
]
|
||||
if: always()
|
|
@ -30,6 +30,9 @@ jobs:
|
|||
"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`"
|
||||
|
|
Loading…
Reference in New Issue