20 changed files with 74 additions and 81 deletions
@ -1,14 +0,0 @@ |
|||||
name: Label sponsors |
|
||||
on: |
|
||||
pull_request: |
|
||||
types: [opened] |
|
||||
issues: |
|
||||
types: [opened] |
|
||||
jobs: |
|
||||
build: |
|
||||
name: is-sponsor-label |
|
||||
runs-on: ubuntu-latest |
|
||||
steps: |
|
||||
- uses: JasonEtco/is-sponsor-label-action@v2 |
|
||||
env: |
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
|
@ -1,24 +1,30 @@ |
|||||
name: "Issue Labeler" |
name: Issue Labeler |
||||
on: |
on: |
||||
issues: |
issues: |
||||
types: [opened, edited] |
types: |
||||
pull_request: |
- opened |
||||
types: [opened, edited] |
- edited |
||||
|
|
||||
permissions: |
permissions: |
||||
|
issues: write |
||||
contents: read |
contents: read |
||||
|
|
||||
jobs: |
jobs: |
||||
triage: |
issue-labeler: |
||||
permissions: |
|
||||
contents: read # for github/issue-labeler to get repo contents |
|
||||
issues: write # for github/issue-labeler to create or remove labels |
|
||||
runs-on: ubuntu-latest |
runs-on: ubuntu-latest |
||||
steps: |
steps: |
||||
- uses: github/issue-labeler@v3.1 |
- name: Issue Labeler |
||||
|
uses: github/issue-labeler@v3.1 |
||||
with: |
with: |
||||
repo-token: "${{ secrets.GITHUB_TOKEN }}" |
repo-token: "${{ secrets.GITHUB_TOKEN }}" |
||||
configuration-path: .github/labeler.yml |
configuration-path: .github/labeler.yml |
||||
not-before: |
|
||||
enable-versioned-regex: 0 |
enable-versioned-regex: 0 |
||||
include-title: 1 |
include-title: 1 |
||||
|
|
||||
|
is-sponsor-label: |
||||
|
runs-on: ubuntu-latest |
||||
|
steps: |
||||
|
- name: Is Sponsor Label |
||||
|
uses: JasonEtco/is-sponsor-label-action@v2 |
||||
|
env: |
||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
||||
|
Loading…
Reference in new issue