summaryrefslogtreecommitdiff
path: root/.github
AgeCommit message (Collapse)Author
2023-12-22github: Mark the build as failed if 'do not merge' label is setDonatas Abraitis
This prevents us from merging PRs marked as 'do not merge'. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2023-05-09github: Add rebase label on PR if it's > 50 commits behindDonatas Abraitis
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>
2023-04-14git: Workflow grammar fixupDonald Sharp
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
2023-03-13tools: Use specific syntax for conditions for Github actionsDonatas Abraitis
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2023-03-05tools: Do not run commit linter for other branches than masterDonatas Abraitis
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2023-03-03tools: Do not force Sentence-case for commit messagesDonatas Abraitis
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2023-03-03tools: Add missing `mgmtd` prefix for commitlintDonatas Abraitis
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2023-03-03tools: Add missing `pathd` prefix for commitlintDonatas Abraitis
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2023-03-03tools: Add help url when commitlint failsDonatas Abraitis
Just point to our workflow documentation. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2023-02-07tools: Replace pull_request_target to pull_request for commitlint actionDonatas Abraitis
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>
2023-02-07tools: Fetch more commits for commitlint to validate the commitDonatas Abraitis
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>
2023-02-07tools: Revalidate commits when PR is updatedDonatas Abraitis
Trigger GH action also if labeled, unlabeled. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2023-02-07tools: Add `build` as a valid prefix for commit messagesDonatas Abraitis
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2023-01-31tools: Add commit linterDonatas Abraitis
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>
2023-01-25github: Prevent merging (fail CI) if 'freeze' label exists for PRDonatas Abraitis
Mostly useful duging the freeze period to warn the maintainers from merging unwanted PRs. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2023-01-11github: Drop temporary docker-stable github actionDonatas Abraitis
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>
2023-01-11github: Use static quay.io repository for docker imagesDonatas Abraitis
Not dynamic from username, because tags do not allow using "+" character. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2023-01-09github: Use quay.io as docker registry for github action generated imagesDonatas Abraitis
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2022-12-08github: Prevent running actions on forked repositoriesDonatas Abraitis
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2022-12-04github: Build `master` daily docker images and for stable/X.Y on pushDonatas Abraitis
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>
2022-11-28Merge pull request #12363 from opensourcerouting/feature/add_size_label_githubDonald Sharp
github: Create size label for every PR
2022-11-21github: Create size label for every PRDonatas Abraitis
Examples: size/XS, size/S, size/M, size/L, ... Inspired by kubernetes/kubernetes. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2022-11-21github: Use `action-regex-match` action for adding `backport` labelDonatas Abraitis
Seems that labeler does not work properly with comments, tested on my own local repository. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2022-11-21github: Add enable-versioned-regex expicitly in labeler.ymlDonatas Abraitis
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>
2022-11-18github: Add `backport` label if pull request has `Mergifyio backport` commentDonatas Abraitis
Useful to filter out which PRs should be backported yet. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2022-10-13github: Add `conflicts`/`no_conflicts` labels for PRsDonatas Abraitis
Just to quickly identify which PRs needs attention on rebasing. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2022-06-27github: Set strict permissions for stale actions for GithubDonatas Abraitis
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2022-06-16github: Autoclose stale issues/PRs that are stare longer than 180 daysDonatas Abraitis
Set autoclose label after 180 days (no activity) and close (really) two weeks later. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2022-06-10github: Mark issues with no activity in 180 days as staleDonatas Abraitis
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2022-05-25github: Use pull_request_target as a targetDonatas Abraitis
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>
2022-05-25github: Add permissions for labeler actionDonatas Abraitis
Should solve this: ``` Error: HttpError: Resource not accessible by integration Error: Resource not accessible by integration ``` Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2022-05-23github: Add base branch label to every PR to distinguish easilyDonatas Abraitis
Faster notice and filter backports by labels per release. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2022-04-19github: Use checkboxes for issue templatesDonatas Abraitis
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
2020-10-20.github: improve bug report templateQuentin Young
- 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>
2020-08-25github: Add lost chapter witch issue templatene-vlezay80
Add lost chapter from issue with bug report Signed-off-by: Alexey Boldyrev <ne-vlezay80@yandex.ru>
2019-03-29.github: move pr template to subdirQuentin Young
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2019-03-29.github: remove old issue templateQuentin Young
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2019-03-29.github: Update issue templatesQuentin Young
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2018-12-13.github: add core guidelines to issue templateQuentin Young
Hopefully people will see these first and do them Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2018-10-28.github: remove style reminder from PR templateQuentin Young
Tired of deleting this thing, doubt people read it, and we have checkpatch anyway Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2018-09-04Merge pull request #2909 from netravnen/feature/git-pl-templateQuentin Young
Add github pull-request-template.md
2018-09-01.github: Update ISSUE_TEMPLATE.mdChristoffer
Addressed @rwestphal comments. Signed-off-by: Christoffer <netravnen@gmail.com>
2018-08-31.github: Updated PULL_REQUEST_TEMPLATE.mdChristoffer
Addressed @qlyoung's suggestions. Signed-off-by: Christoffer <netravnen@gmail.com>
2018-08-31.github: Updated ISSUE_TEMPALTE.mdChristoffer
Addressed @qlyoung's suggestions. Signed-off-by: Christoffer <netravnen@gmail.com>
2018-08-31.github: Updated ISSUE_TEMPALTE.mdChristoffer
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>
2018-08-29.github: Add ISSUE_TEMPLATE.mdChristoffer
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>
2018-08-29.github: Updated PULL_REQUEST_TEMPLATE.md per Quentin's request.Christoffer
Signed-off-by: Christoffer <netravnen@gmail.com>