Merge branch 'master' into Playerbot

This commit is contained in:
Yunfan Li
2024-06-03 23:16:28 +08:00
40 changed files with 555 additions and 243 deletions

View File

@@ -47,6 +47,7 @@ runs:
shell: bash
run: |
sudo apt update
sudo apt remove needrestart #refer: https://github.com/actions/runner-images/issues/9937
sudo apt-get -y install ccache clang cmake curl google-perftools \
libmysqlclient-dev make unzip build-essential cmake-data \
libboost-all-dev libbz2-dev libncurses5-dev libmysql++-dev \

53
.github/labeler.yml vendored
View File

@@ -1,37 +1,54 @@
file-cpp:
- src/**/*.cpp
- src/**/*.h
- deps/**/*.cpp
- deps/**/*.h
- changed-files:
- any-glob-to-any-file:
- src/**/*.cpp
- src/**/*.h
- deps/**/*.cpp
- deps/**/*.h
DB:
- data/**/*.sql
- changed-files:
- any-glob-to-any-file: data/**/*.sql
CORE:
- any: ['src/**/*', '!src/server/scripts/*', '!src/tests/*']
- all:
- changed-files:
- any-glob-to-any-file: 'src/**/*'
- all-globs-to-all-files:
- '!src/server/scripts/*'
- '!src/tests/*'
Script:
- src/server/scripts/**/*.cpp
- src/server/scripts/**/*.h
- changed-files:
- any-glob-to-any-file:
- src/server/scripts/**/*.cpp
- src/server/scripts/**/*.h
UnitTests:
- src/test/**/*
- changed-files:
- any-glob-to-any-file: src/test/**/*
Documentation:
- ./*.md
- changed-files:
- any-glob-to-any-file: ./*.md
Bash:
- ./*.sh
- apps/**/*.sh
- conf/**/*.sh
- deps/**/*.sh
- modules/**/*.sh
- changed-files:
- any-glob-to-any-file:
- ./*.sh
- apps/**/*.sh
- conf/**/*.sh
- deps/**/*.sh
- modules/**/*.sh
CMake:
- ./*.cmake
- changed-files:
- any-glob-to-any-file: ./*.cmake
Workflow:
- .github/workflows/*
- changed-files:
- any-glob-to-any-file: .github/workflows/*
Batch:
- apps/**/*.bat
- changed-files:
- any-glob-to-any-file: apps/**/*.bat

View File

@@ -11,7 +11,7 @@ jobs:
- uses: actions/checkout@v4
with:
persist-credentials: true
- uses: actions/labeler@v4
- uses: actions/labeler@v5
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
configuration-path: .github/labeler.yml