Skip to content

Commit

Permalink
Create issue-labeler.yml (dependabot#9305)
Browse files Browse the repository at this point in the history
* Create issue-labeler.yml

* Create issue-labeler.yml

* Update issue-labeler.yml

* Update stalebot.yml

* Update issue-labeler.yml

* Update stalebot.yml
  • Loading branch information
abdulapopoola authored Mar 15, 2024
1 parent 6fd3193 commit a30e864
Show file tree
Hide file tree
Showing 3 changed files with 72 additions and 1 deletion.
53 changes: 53 additions & 0 deletions .github/issue-labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
"L: ruby:bundler":
- '(ruby|bundler)'

"L: rust:cargo":
- '(rust|cargo)'

"L: php:composer":
- '(php|composer)'

"L: devcontainers":
- '(devcontainers)'

"L: docker":
- '(docker|kubernetes)'

"L: elm":
- '(elm)'

"L: git:submodules":
- '(git|submodules)'

"L: github:actions":
- '(actions)'

"L: go:modules":
- '(go|gomod)'

"L: javascript":
- '(javascript|npm|pnpm|yarn)'

"L: java:gradle":
- '(gradle)'

"L: elixir:hex":
- '(hex)'

"L: java:maven":
- '(maven)'

"L: dotnet:nuget":
- '(nuget)'

"L: dart:pub":
- '(dart|pub)'

"L: python":
- '(python|pip|poetry)'

"L: terraform":
- '(terraform)'

"L: swift":
- '(swift)'
18 changes: 18 additions & 0 deletions .github/workflows/issue-labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: "Issue Labeler"
on: # yamllint disable-line rule:truthy
issues:
types: [opened, edited]

permissions:
issues: write
contents: read

jobs:
triage:
runs-on: ubuntu-latest
steps:
- uses: github/issue-labeler@v3.4
with:
configuration-path: .github/issue-labeler.yml
enable-versioned-regex: 0
repo-token: ${{ github.token }}
2 changes: 1 addition & 1 deletion .github/workflows/stalebot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
steps:
- uses: actions/stale@v9.0.0
name: Clean up stale PRs and Issues
stale-pr-message: "👋 This pull request has been marked as stale because it has been open for 2 years with no activity. You can comment on the PR to hold stalebot off for a while, or do nothing. If you do nothing, this pull request will be closed eventually by the stalebot. Please see CONTRIBUTING.md for more policy details."
with:
stale-pr-message: "👋 This pull request has been marked as stale because it has been open for 2 years with no activity. You can comment on the PR to hold stalebot off for a while, or do nothing. If you do nothing, this pull request will be closed eventually by the stalebot. Please see CONTRIBUTING.md for more policy details."
stale-issue-message: "👋 This issue has been marked as stale because it has been open for 2 years with no activity. You can comment on the issue to hold stalebot off for a while, or do nothing. If you do nothing, this issue will be closed eventually by the stalebot. Please see CONTRIBUTING.md for more policy details."
stale-pr-label: "Stale"
stale-issue-label: "Stale"
Expand Down

0 comments on commit a30e864

Please sign in to comment.