From 6d192a4ac9ba600ec28eb86d2cc45dea67f5922b Mon Sep 17 00:00:00 2001 From: Philip H <47042125+pheiduck@users.noreply.github.com> Date: Sat, 19 Aug 2023 14:30:47 +0200 Subject: 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> --- .github/labeler.yml | 58 +++++++++++++++++++++++++++++++++++++++++++++ .github/workflows/label.yml | 23 ++++++++++++++++++ src/version.c | 2 ++ 3 files changed, 83 insertions(+) create mode 100644 .github/labeler.yml create mode 100644 .github/workflows/label.yml diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 0000000000..8e2337c6e4 --- /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 index 0000000000..be44c11ec4 --- /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 index 3bea7ac6be..bdca0fdb4a 100644 --- a/src/version.c +++ b/src/version.c @@ -695,6 +695,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1748, /**/ 1747, /**/ -- cgit v1.2.3