aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/backport.yml
Commit message (Collapse)AuthorAge
* ci: skip automerge step if backport faileddundargoc2024-09-14
|
* ci: add `needs:backport` label on backport PRs with conflictdundargoc2024-09-13
| | | | | This makes it easy to keep track of which backport PRs have failed and need manual intervention to fix.
* ci: enable automerge by default when backportingdundargoc2024-09-13
| | | | | This will automatically merge backported PRs without human intervention if the tests pass.
* ci: always add `target:release` label when backportingdundargoc2024-07-21
| | | | | | Previously the label was not added if the backport PR was created manually. The new code is also easier to maintain as it's close to other label-related code.
* ci: run workflows on release branchesdundargoc2024-07-16
| | | | | | | | | | | Github doesn't allow workflows to be run from the `github-actions` account, which is the default account. This caused the CI on backport PRs to not be run. The way to circumvent this is to use a token that essentially "pretends" to be another user, which in turn triggers the CI as desired. Also run lintcommit on release branches as that is now a required check, meaning it must always be run.
* ci: bump backport action to version 3dundargoc2024-05-27
|
* ci: change label `backport` to `target:release`dundargoc2024-05-17
| | | | | `backport` is too similar `ci:backport release-x.y` and causes confusion.
* ci: don't try to label backport PR if it was not createddundargoc2024-05-02
|
* ci: improve default backport pull request titledundargoc2024-05-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | `[Backport release-x.y]` will no longer be part of the pull request title. This means the PR titles will go from looking like ``` [Backport release-0.9] fix(languagetree): remove double recursion in LanguageTree:parse ``` to ``` fix(languagetree): remove double recursion in LanguageTree:parse ``` The benefit of this is that pull requests merged with the "Squash and Merge" strategy (which uses the PR title as the commit message), will still follow the conventional commits specification. This will help tools that rely on conventional commits such as git-cliff. The `backport` label is added to backported PRs to help distinguish between backport PRs with regular PRs in the "Pull Requests" tab on github. To reduce confusion with the `backport` label, the label to trigger the backporting has been changed from `backport release-x.y` to `ci:backport release-x.y`. This is also more consistent with other labels that trigger a CI job which all use the `ci:` prefix.
* ci: write the correct cherry-picked commit id when backportingJongwook Choi2024-01-01
| | | | | | | | | | | | | Problem: Commits backport-merged to release branches are cherry-picked from the original commits in the PR from a fork repository, NOT the actual commit that are merged to neovim/neovim (HEAD). Therefore the commit reference in the commit message `cherry picked from commit ...` usually refers to a commit that does NOT exist in the repository, given that our preferred way of merging PR (rebasing, squashing, etc.) would rewrite commits. Solution: Turn on new feature 'detect_merge_method' of backport-action workflow.
* ci: refactor CI filesdundargoc2023-12-09
| | | | | Mostly rename file and variable names to be more consistent. This makes it easier to locate them in the "Actions" tab on github.
* ci: bump korthout/backport-action from 1 to 2dependabot[bot]2023-10-30
|
* ci: bump actions/checkout from 3 to 4dependabot[bot]2023-09-04
| | | | | | | | | | | | | | | Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
* ci: simplify backport workflowdundargoc2023-04-08
|
* ci(backport): bump zeebe-io/backport-action from 0 to 1 (#22348)dundargoc2023-02-21
| | | | Notable changes are performance increases for fetching repositories and simpler workflow file.
* ci(backport): bump version to v0dundargoc2022-10-08
| | | | | | backport-action now uses "v0" tag to point to the latest stable version. This helps us avoid having to manually bump the version to get bug fixes.
* ci(backport): bump to backport-action@v0.0.8 #20366dundargoc2022-09-27
| | | Primary bug fix is allowing backports with empty PR description.
* ci: bump github actions versions #18616dundargoc2022-05-20
|
* ci(backport): remove triggering by comment (#18210)zeertzjq2022-04-23
| | | | Triggering by comment is not needed. Applying the label is enough to trigger the backport action.
* fix(ci/backport): check for event_name == "pull_request_target"James McCoy2021-11-30
| | | | [skip ci]
* ci(backport): trigger on comments too, so "/backport" worksJames McCoy2021-10-30
| | | | [skip ci]
* ci(backport): bump version to v0.0.7James McCoy2021-10-30
| | | | [skip ci]
* ci(backport): add write permissions for contents/pull_requestsJames McCoy2021-10-30
| | | | | | The workflow needs to create commits and PRs. [skip ci]
* feat(ci): add backport PR action (#14766)Michael Lingelbach2021-10-26
Trigger the backport action upon merge by marking a PR with the label `backport <branchname>` or after merge by applying the label and writing a comment containing `/backport`.