Skip to content

Commit

Permalink
Merge pull request #1 from looker-open-source/codeowners-labels
Browse files Browse the repository at this point in the history
chore: Add CODEOWNERS and autolabel tasks
  • Loading branch information
drstrangelooker authored Mar 28, 2024
2 parents 3766726 + 62ef883 commit 4c7fa74
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @looker-open-source/cortex-eng
21 changes: 21 additions & 0 deletions .github/workflows/p3-issue-label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Label all new/reopened issues with P3
on:
issues:
types:
- reopened
- opened
jobs:
label_issues_p3:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- uses: actions/github-script@v6
with:
script: |
github.rest.issues.addLabels({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
labels: ["p3"]
})
20 changes: 20 additions & 0 deletions .github/workflows/triage-issue-label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Label issues that need triage
on:
issues:
types:
- opened
jobs:
label_issues_p3:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- uses: actions/github-script@v6
with:
script: |
github.rest.issues.addLabels({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
labels: ["need triage"]
})

0 comments on commit 4c7fa74

Please sign in to comment.