use repo ranger instead of custom GH action

main
Mike Fix 4 years ago
parent 865b65298d
commit 346482202e
No known key found for this signature in database
GPG Key ID: 1D85E862314CA79F

@ -27,6 +27,10 @@ commits:
pattern: 'upgrade dep' pattern: 'upgrade dep'
labels: labels:
- maintenance - maintenance
- action: label
user: 'allcontributors[bot]'
labels:
- 'squash when passing'
sponsor_labels: sponsor_labels:
- sponsor - sponsor

@ -1,20 +0,0 @@
name: Auto-merge All-Contributors bot
on: pull_request
jobs:
apply-label:
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@0.9.0
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
if (context.payload.pull_request.user.login === 'allcontributors[bot]') {
github.issues.addLabels({
issue_number: context.payload.pull_request.number,
owner: context.repo.owner,
repo: context.repo.repo,
labels: ['squash when passing']
})
}
Loading…
Cancel
Save