mirror of
https://github.com/dagger/dagger-for-github.git
synced 2026-01-02 21:29:47 +11:00
Add labels workflow
This commit is contained in:
parent
aecf5e3748
commit
4cbde6ce16
3 changed files with 123 additions and 0 deletions
18
.github/workflows/label-sponsor.yml
vendored
Normal file
18
.github/workflows/label-sponsor.yml
vendored
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
name: label-sponsor
|
||||
|
||||
on:
|
||||
issues:
|
||||
types:
|
||||
- 'opened'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
-
|
||||
name: Set sponsor label
|
||||
uses: JasonEtco/is-sponsor-label-action@024ac24f8b170abce078cad4ee748852369853c8
|
||||
with:
|
||||
label: ":sparkling_heart: sponsor"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
20
.github/workflows/labels.yml
vendored
Normal file
20
.github/workflows/labels.yml
vendored
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
name: labels
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- 'master'
|
||||
paths:
|
||||
- '.github/labels.yml'
|
||||
- '.github/workflows/labels.yml'
|
||||
|
||||
jobs:
|
||||
labeler:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
-
|
||||
name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
-
|
||||
name: Run Labeler
|
||||
uses: crazy-max/ghaction-github-labeler@v3
|
||||
Loading…
Add table
Add a link
Reference in a new issue