# HG changeset patch # User Christian Brabandt # Date 1692450005 -7200 # Node ID 49e4d7aa402c55bf1d8986f039f7ba0479ab563b # Parent aaa5c1db373115ed2661b83350c9a7d94bb5722b patch 9.0.1748: CI: cannot label issues automatically Commit: https://github.com/vim/vim/commit/6d192a4ac9ba600ec28eb86d2cc45dea67f5922b Author: Philip H <47042125+pheiduck@users.noreply.github.com> Date: Sat Aug 19 14:30:47 2023 +0200 patch 9.0.1748: CI: cannot label issues automatically Problem: CI: cannot label issues automatically Solution: Create CI labeler closes: #12788 Signed-off-by: Christian Brabandt Signed-off-by: Philip H <47042125+pheiduck@users.noreply.github.com> diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,58 @@ +# list of labels and minimatch globs to match to apply the label. + +CI: +- any: ['.cirrus.yml'] +- any: ['.github/**'] +- any: ['.appveyor.yml'] +- any: ['.codecov.yml'] + +translation: +- any: ['src/po/*.po'] + +if_lua: +- any: ['src/if_lua.c'] +- any: ['src/proto/if_lua.pro'] +- any: ['runtime/doc/if_lua.txt'] + +if_mzscheme: +- any: ['src/if_mzsch.c'] +- any: ['src/if_mzsch.h'] +- any: ['src/proto/if_mzsch.pro'] +- any: ['runtime/doc/if_mzsch.txt'] + +if_perl: +- any: ['src/if_perl.xs'] +- any: ['src/if_perlsfio.c'] +- any: ['src/proto/if_perl.pro'] +- any: ['src/proto/if_perlsfio.pro'] +- any: ['runtime/doc/if_perl.txt'] + +if_python: +- any: ['src/if_py_both.h'] +- any: ['runtime/doc/if_pyth.txt'] +- any: ['src/if_python.c'] +- any: ['src/if_python3.c'] +- any: ['src/proto/if_python.pro'] +- any: ['src/proto/if_python3.pro'] + +if_ruby: +- any: ['src/if_ruby.c'] +- any: ['src/proto/if_ruby.pro'] +- any: ['runtime/doc/if_ruby.txt'] + +if_tcl: +- any: ['src/if_tcl.c'] +- any: ['src/proto/if_tcl.pro'] +- any: ['runtime/doc/if_tcl.txt'] + +runtime: +- any: ['runtime/ftplugin'] +- any: ['runtime/syntax'] +- any: ['runtime/indent'] +- any: ['runtime/pack/dist/opt/termdebug/plugin/termdebug.vim'] + +termdebug: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim + +netrw: +- any: ['runtime/plugin/netrwPlugin.vim'] +- any: ['runtime/autoload/netrw*'] diff --git a/.github/workflows/label.yml b/.github/workflows/label.yml new file mode 100644 --- /dev/null +++ b/.github/workflows/label.yml @@ -0,0 +1,23 @@ +# This workflow will triage pull requests and apply a label based on the +# paths that are modified in the pull request. +# +# To use this workflow, you will need to set up a .github/labeler.yml +# file with configuration. For more information, see: +# https://github.com/actions/labeler + +name: Labeler +on: [pull_request_target] + +jobs: + label: + + runs-on: ubuntu-latest + permissions: + contents: read + pull-requests: write + + steps: + - uses: actions/labeler@v4 + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}" + sync-labels: '' diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -696,6 +696,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1748, +/**/ 1747, /**/ 1746,