summaryrefslogtreecommitdiffstats
path: root/.github (follow)
Commit message (Collapse)AuthorAgeFilesLines
* github: Add rebase label on PR if it's > 50 commits behindDonatas Abraitis2023-05-091-0/+28
| | | | | | | The idea is to catch some PRs and rerun them in CI to avoid merging PRs that are based on the stale base branch and causes issues afterwards. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
* git: Workflow grammar fixupDonald Sharp2023-04-141-1/+1
| | | | Signed-off-by: Donald Sharp <sharpd@nvidia.com>
* tools: Use specific syntax for conditions for Github actionsDonatas Abraitis2023-03-131-1/+1
| | | | Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
* tools: Do not run commit linter for other branches than masterDonatas Abraitis2023-03-051-2/+3
| | | | Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
* tools: Do not force Sentence-case for commit messagesDonatas Abraitis2023-03-031-1/+0
| | | | Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
* tools: Add missing `mgmtd` prefix for commitlintDonatas Abraitis2023-03-031-0/+1
| | | | Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
* tools: Add missing `pathd` prefix for commitlintDonatas Abraitis2023-03-031-0/+1
| | | | Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
* tools: Add help url when commitlint failsDonatas Abraitis2023-03-031-0/+1
| | | | | | Just point to our workflow documentation. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
* tools: Replace pull_request_target to pull_request for commitlint actionDonatas Abraitis2023-02-071-1/+2
| | | | | | | Tested locally, it works. So it seems that, pull_request_target is not working properly, let's check. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
* tools: Fetch more commits for commitlint to validate the commitDonatas Abraitis2023-02-071-0/+2
| | | | | | | | Note: It's necessary that you specify the fetch-depth argument to actions/checkout@v2 step. By default they fetch only latest commit of the branch, but we need more commits since we validate a range of commit messages. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
* tools: Revalidate commits when PR is updatedDonatas Abraitis2023-02-071-0/+3
| | | | | | Trigger GH action also if labeled, unlabeled. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
* tools: Add `build` as a valid prefix for commit messagesDonatas Abraitis2023-02-072-0/+4
| | | | Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
* tools: Add commit linterDonatas Abraitis2023-01-312-0/+63
| | | | | | | | | Run under Github Actions, and restrict commit messages, structure, with, etc. Enforce using only our specified prefixes for commit messages. It reduces the work release managers do when _crafting_ release notes. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
* github: Prevent merging (fail CI) if 'freeze' label exists for PRDonatas Abraitis2023-01-251-0/+17
| | | | | | | Mostly useful duging the freeze period to warn the maintainers from merging unwanted PRs. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
* github: Drop temporary docker-stable github actionDonatas Abraitis2023-01-111-54/+0
| | | | | | | | Until we have a consensus how we ship stable/X.Y docker images. For now we build images based on release tags, not based on HEAD of the branch. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
* github: Use static quay.io repository for docker imagesDonatas Abraitis2023-01-112-2/+2
| | | | | | Not dynamic from username, because tags do not allow using "+" character. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
* github: Use quay.io as docker registry for github action generated imagesDonatas Abraitis2023-01-092-6/+8
| | | | Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
* github: Prevent running actions on forked repositoriesDonatas Abraitis2022-12-087-0/+7
| | | | Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
* github: Build `master` daily docker images and for stable/X.Y on pushDonatas Abraitis2022-12-042-0/+103
| | | | | | | | | | frrouting/frr:master will be generated every day frrouting/frr:vX.Y.Z will be generated every time a new push is done on the stable/X.Y branch. Takes up to 3 hours to build and publish images. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
* Merge pull request #12363 from opensourcerouting/feature/add_size_label_githubDonald Sharp2022-11-281-0/+25
|\ | | | | github: Create size label for every PR
| * github: Create size label for every PRDonatas Abraitis2022-11-211-0/+25
| | | | | | | | | | | | | | | | Examples: size/XS, size/S, size/M, size/L, ... Inspired by kubernetes/kubernetes. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
* | github: Use `action-regex-match` action for adding `backport` labelDonatas Abraitis2022-11-213-22/+21
|/ | | | | | | Seems that labeler does not work properly with comments, tested on my own local repository. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
* github: Add enable-versioned-regex expicitly in labeler.ymlDonatas Abraitis2022-11-211-0/+1
| | | | | | | Error: Error: Input required and not supplied: enable-versioned-regex Error: Input required and not supplied: enable-versioned-regex Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
* github: Add `backport` label if pull request has `Mergifyio backport` commentDonatas Abraitis2022-11-182-0/+21
| | | | | | Useful to filter out which PRs should be backported yet. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
* github: Add `conflicts`/`no_conflicts` labels for PRsDonatas Abraitis2022-10-131-0/+21
| | | | | | Just to quickly identify which PRs needs attention on rebasing. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
* github: Set strict permissions for stale actions for GithubDonatas Abraitis2022-06-271-0/+6
| | | | Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
* github: Autoclose stale issues/PRs that are stare longer than 180 daysDonatas Abraitis2022-06-161-3/+5
| | | | | | | Set autoclose label after 180 days (no activity) and close (really) two weeks later. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
* github: Mark issues with no activity in 180 days as staleDonatas Abraitis2022-06-101-0/+20
| | | | Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
* github: Use pull_request_target as a targetDonatas Abraitis2022-05-251-2/+1
| | | | | | | | | | | | | And drop checkout action - not needed. Due to the dangers inherent to automatic processing of PRs, GitHub’s standard pull_request workflow trigger by default prevents write permissions and secrets access to the target repository. However, in some scenarios such access is needed to properly process the PR. To this end the pull_request_target workflow trigger was introduced. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
* github: Add permissions for labeler actionDonatas Abraitis2022-05-251-0/+3
| | | | | | | | | | | Should solve this: ``` Error: HttpError: Resource not accessible by integration Error: Resource not accessible by integration ``` Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
* github: Add base branch label to every PR to distinguish easilyDonatas Abraitis2022-05-231-0/+17
| | | | | | Faster notice and filter backports by labels per release. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
* github: Use checkboxes for issue templatesDonatas Abraitis2022-04-191-2/+2
| | | | Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
* .github: improve bug report templateQuentin Young2020-10-201-7/+61
| | | | | | | | | - Enclose template help text in HTML comments so that it does not show up in issues - Add more help text explaining what is requested - Yell to increase visibility Signed-off-by: Quentin Young <qlyoung@nvidia.com>
* github: Add lost chapter witch issue templatene-vlezay802020-08-251-1/+1
| | | | | Add lost chapter from issue with bug report Signed-off-by: Alexey Boldyrev <ne-vlezay80@yandex.ru>
* .github: move pr template to subdirQuentin Young2019-03-291-0/+0
| | | | Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
* .github: remove old issue templateQuentin Young2019-03-291-52/+0
| | | | Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
* .github: Update issue templatesQuentin Young2019-03-291-0/+43
| | | | Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
* .github: add core guidelines to issue templateQuentin Young2018-12-131-0/+9
| | | | | | Hopefully people will see these first and do them Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
* .github: remove style reminder from PR templateQuentin Young2018-10-281-4/+0
| | | | | | | Tired of deleting this thing, doubt people read it, and we have checkpatch anyway Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
* Merge pull request #2909 from netravnen/feature/git-pl-templateQuentin Young2018-09-041-0/+12
|\ | | | | Add github pull-request-template.md
| * .github: Updated PULL_REQUEST_TEMPLATE.mdChristoffer2018-08-311-1/+1
| | | | | | | | | | | | Addressed @qlyoung's suggestions. Signed-off-by: Christoffer <netravnen@gmail.com>
| * .github: Updated PULL_REQUEST_TEMPLATE.md per Quentin's request.Christoffer2018-08-291-0/+12
| | | | Signed-off-by: Christoffer <netravnen@gmail.com>
* .github: Update ISSUE_TEMPLATE.mdChristoffer2018-09-011-1/+1
| | | | | | Addressed @rwestphal comments. Signed-off-by: Christoffer <netravnen@gmail.com>
* .github: Updated ISSUE_TEMPALTE.mdChristoffer2018-08-311-3/+3
| | | | | | Addressed @qlyoung's suggestions. Signed-off-by: Christoffer <netravnen@gmail.com>
* .github: Updated ISSUE_TEMPALTE.mdChristoffer2018-08-311-11/+16
| | | | | | | | | Addressed all of @qlyoung's "presentational nits and a formatting suggestion". As well as @rwestphal's idea of OS and FRR name+version numbers. Signed-off-by: Christoffer <netravnen@gmail.com>
* .github: Add ISSUE_TEMPLATE.mdChristoffer2018-08-291-0/+38
Content of file ISSUE_TEMPLATE.md lossly based upon https://github.com/sysrepo/sysrepo/blob/e38fcc3c00638f97e9d0c27cb6ca2d0bc2b645dc/.github/ISSUE_TEMPLATE.md Signed-off-by: Christoffer <netravnen@gmail.com>