All Projects β†’ traefik β†’ aloba

traefik / aloba

Licence: Apache-2.0 license
πŸ€– [Myrmica Aloba 🐜] Bot: Add labels and milestone on pull requests and issues.

Programming Languages

go
31211 projects - #10 most used programming language
Dockerfile
14818 projects
Makefile
30231 projects

Projects that are alternatives of or similar to aloba

15-minutes-for-6-months
A repository template that lets you set up a minimal issue tracking process in 15 minutes that you won’t have to think about for 6 months πŸ—
Stars: ✭ 15 (-16.67%)
Mutual labels:  issues, labels, milestones
release-changelog-builder-action
A GitHub action that builds your release notes / changelog fast, easy and exactly the way you want.
Stars: ✭ 515 (+2761.11%)
Mutual labels:  issues, labels, pull-requests
assign-author
GitHub Actions to assign author to issue or PR
Stars: ✭ 55 (+205.56%)
Mutual labels:  issues, pull-requests, github-actions
Repo Lockdown
GitHub Action that immediately closes and locks issues and pull requests
Stars: ✭ 56 (+211.11%)
Mutual labels:  issues, pull-requests
Github Bot
GitHub θ‡ͺεŠ¨ε€„η† issue、PR、releases ζœΊε™¨δΊΊ
Stars: ✭ 434 (+2311.11%)
Mutual labels:  issues, pull-requests
Contribute A Thon
Month-long Open Source contributing event ✨
Stars: ✭ 26 (+44.44%)
Mutual labels:  issues, pull-requests
geet
Command line interface for performing Git hosting service operations
Stars: ✭ 14 (-22.22%)
Mutual labels:  issues, milestones
Lock Threads
GitHub Action that locks closed issues and pull requests after a period of inactivity
Stars: ✭ 156 (+766.67%)
Mutual labels:  issues, pull-requests
Export Pull Requests
Export pull requests and/or issues to a CSV file. Supports GitHub, GitLab, and Bitbucket
Stars: ✭ 68 (+277.78%)
Mutual labels:  issues, pull-requests
ok-to-test
Example workflow configuration showing how to use GitHub Actions secrets in pull requests from forks πŸ΄πŸ”‘
Stars: ✭ 58 (+222.22%)
Mutual labels:  pull-requests, github-actions
scalafmt-probot
πŸ€–Github bot for checking code formatting with scalafmt
Stars: ✭ 15 (-16.67%)
Mutual labels:  github-bot, pull-requests
metadata-action
GitHub Action to extract metadata (tags, labels) from Git reference and GitHub events for Docker
Stars: ✭ 492 (+2633.33%)
Mutual labels:  labels, github-actions
Contributors On Github
🌡 Show stats about contributors on github
Stars: ✭ 391 (+2072.22%)
Mutual labels:  issues, pull-requests
labman-cli
πŸ‘¨πŸΌβ€πŸ”¬ github label manager cli
Stars: ✭ 15 (-16.67%)
Mutual labels:  issues, labels
Gha Mjolnir
πŸ”¨ GitHub Action to close issues related to the merge of a pull request.
Stars: ✭ 28 (+55.56%)
Mutual labels:  issues, pull-requests
backup-github-repo
Backup all the issues and pull requests of a Github repo, including the comments, events, and labels, as JSON and as HTML
Stars: ✭ 31 (+72.22%)
Mutual labels:  issues, pull-requests
Github Project Automation Plus
πŸ€– Automate GitHub Project cards with any webhook event
Stars: ✭ 134 (+644.44%)
Mutual labels:  issues, pull-requests
tailor
GitHub bot that validates patches before they can be merged
Stars: ✭ 18 (+0%)
Mutual labels:  github-bot, pull-requests
triage-new-issues
A GitHub App, built with Probot that adds `triage` label to newly-created issues which don't have labels
Stars: ✭ 23 (+27.78%)
Mutual labels:  issues, github-bot
label-actions
πŸ€– GitHub Action that performs certain tasks when issues, pull requests or discussions are labeled or unlabeled
Stars: ✭ 60 (+233.33%)
Mutual labels:  issues, github-actions

Myrmica Aloba: Add labels and milestone on pull requests and issues.

Release Build Status Docker Image Version (latest semver)

Overview

Available Commands:

  • action: GitHub Action (Add labels and milestone on pull requests and issues.)
  • label: Add labels and milestone on pull requests and issues.
  • report: Create a report and publish on Slack.
  • version: Display the version.

Manage GitHub labels.

  • on new issue: adds the label status/0-needs-triage
  • on new pull request:
    • adds the label status/0-needs-triage
    • add labels based on rules.
    • adds a milestone (if a milestone matches the based branch of the PR).
    • adds a label related to the size of the pull request.

Command action

GitHub Action

Usage: action [--flag=flag_argument] [-f[flag_argument]] ...     set flag_argument to flag(s)
   or: action [--flag[=true|false| ]] [-f[true|false| ]] ...     set true/false to boolean flag(s)

Flags:
    --debug   Debug mode.                        (default "false")
    --dry-run Dry run mode.                      (default "true")
-h, --help    Print Help (this message) and exit 
  • GITHUB_TOKEN: Github Token.
  • .github/aloba-rules.toml: the rules to apply.

Examples:

workflow "Aloba: Issues" {
  on = "issues"
  resolves = ["issue-labels"]
}

action "issue-labels" {
  uses = "docker://traefik/aloba"
  secrets = ["GITHUB_TOKEN"]
  args = "action --dry-run=false"
}

workflow "Aloba: Pull Requests" {
  on = "pull_request"
  resolves = ["pull-request-labels"]
}

action "pull-request-labels" {
  uses = "docker://traefik/aloba"
  secrets = ["GITHUB_TOKEN"]
  args = "action --dry-run=false"
}

Command label

Add labels and milestone on pull requests and issues.

Usage: label [--flag=flag_argument] [-f[flag_argument]] ...     set flag_argument to flag(s)
   or: label [--flag[=true|false| ]] [-f[true|false| ]] ...     set true/false to boolean flag(s)

Flags:
    --debug            Debug mode.                        (default "false")
    --dry-run          Dry run mode.                      (default "true")
    --github           GitHub options.                    (default "true")
-o, --github.owner     Repository owner.
-r, --github.repo-name Repository name.
    --github.token     GitHub token.
    --rules-path       Path to the rule file.             (default "./rules.toml")
    --web-hook         Run as WebHook.                    (default "true")
    --web-hook.port    WebHook port.                      (default "80")
    --web-hook.secret  WebHook secret.
-h, --help             Print Help (this message) and exit
  • GITHUB_TOKEN: Github Token.
  • WEBHOOK_SECRET: Github WebHook Secret.

Examples:

aloba label -o traefik -r traefik --web-hook --github.token="xxxxxxxxxx"

Rules

[[Rules]]
  Label = "area/vegetable"
  Regex = "(?i).*(tomate|carotte).*"

[[Rules]]
  Label = "area/cheese"
  Regex = "cheese/.*"

[[Rules]]
  Label = "area/infrastructure"
  Regex = "(?i)(\\.github|script/).*"

[Limits]
  [Limits.Small]
    SumLimit = 150
    DiffLimit = 70
    FilesLimit = 20
  [Limits.Medium]
    SumLimit = 400
    DiffLimit = 200
    FilesLimit = 50

Command report

Create a report and publish on Slack.

Usage: report [--flag=flag_argument] [-f[flag_argument]] ...     set flag_argument to flag(s)
   or: report [--flag[=true|false| ]] [-f[true|false| ]] ...     set true/false to boolean flag(s)

Flags:
    --debug            Debug mode.                        (default "false")
    --dry-run          Dry run mode.                      (default "true")
    --github           GitHub options.                    (default "true")
-o, --github.owner     Repository owner.
-r, --github.repo-name Repository name.
    --github.token     GitHub token.
    --slack            Slack options.                     (default "true")
    --slack.bot-icon   Bot icon emoji.                    (default ":captainpr:")
    --slack.bot-name   Bot name.                          (default "CaptainPR")
    --slack.channel    Slack channel ID.
    --slack.token      Slack token.
-h, --help             Print Help (this message) and exit
  • GITHUB_TOKEN: Github Token.
  • SLACK_TOKEN: Slack Token.

Examples:

aloba report -o traefik -r traefik --github.token="xxxxxxxxxx" --slack.token="xxxxxxxxxx" --slack.channel=C0CDT22PJ

The Mymirca colony

What does Myrmica Aloba mean?

Myrmica Aloba

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].