From e5ea5f1cbb5b9d2494eeb391d95e0a367b525375 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 4 Dec 2023 21:06:24 +0000 Subject: [PATCH 1/3] MAINT: Bump actions/labeler from 4 to 5 Bumps [actions/labeler](https://github.com/actions/labeler) from 4 to 5. - [Release notes](https://github.com/actions/labeler/releases) - [Commits](https://github.com/actions/labeler/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/labeler dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/label.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/label.yml b/.github/workflows/label.yml index c801a34dd44..d5fbbd15cbb 100644 --- a/.github/workflows/label.yml +++ b/.github/workflows/label.yml @@ -32,7 +32,7 @@ jobs: # Label based on modified files - name: Label based on changed files - uses: actions/labeler@v4 + uses: actions/labeler@v5 with: repo-token: "${{ secrets.GITHUB_TOKEN }}" sync-labels: '' From aafbe67e523b38c71dacc9d98dbccd0ffb18faa6 Mon Sep 17 00:00:00 2001 From: Maxime Rey Date: Wed, 6 Dec 2023 10:28:29 +0100 Subject: [PATCH 2/3] Fix sync labeler. --- .github/labeler.yml | 22 ++++++---------------- .github/workflows/label.yml | 2 +- 2 files changed, 7 insertions(+), 17 deletions(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index f0ccc72fd79..ffb1e7ed0f9 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,22 +1,12 @@ documentation: -- doc/source/**/* -- README.md -- README_CN.md +- any-glob-to-any-file: ["doc/source/**/*", "README.md", "README_CN.md"] maintenance: -- .github/**/* -- .flake8 -- setup.py -- setup-distutils.py +- any-glob-to-any-file: [".github/**/*", ".flake8", "pyproject.toml"] dependencies: -- requirements/**/* +- any-glob-to-any-file: [requirements/**/*] testing: -- _unittest/conftest.py -- _unittest_ironpython/run_unittests.py -- _unittest_ironpython/run_unittests_batchmode.cmd +- any-glob-to-any-file: ["_unittest/conftest.py", "_unittest_ironpython/run_unittests.py", "_unittest_ironpython/run_unittests_batchmode.cmd"] # TODO : Remove once EDB is extracted from PyAEDT edb: -- examples/00-EDB/** -- examples/01-HFSS3DLayout/EDB_in_3DLayout.py -- examples/05-Q3D/Q3D_from_EDB.py -- pyaedt/edb_core/** -- pyaedt/edb.py +- any-glob-to-any-file: ["examples/00-EDB/**", "examples/01-HFSS3DLayout/EDB_in_3DLayout.py", "examples/05-Q3D/Q3D_from_EDB.py", "pyaedt/edb_core/**", "pyaedt/edb.py"] + diff --git a/.github/workflows/label.yml b/.github/workflows/label.yml index d5fbbd15cbb..8cbb2ee0499 100644 --- a/.github/workflows/label.yml +++ b/.github/workflows/label.yml @@ -35,7 +35,7 @@ jobs: uses: actions/labeler@v5 with: repo-token: "${{ secrets.GITHUB_TOKEN }}" - sync-labels: '' + sync-labels: true # Label based on branch name - uses: actions-ecosystem/action-add-labels@v1 From 29f5f42bd552704cdc1c156c55f954571a68ac79 Mon Sep 17 00:00:00 2001 From: Maxime Rey Date: Wed, 6 Dec 2023 10:31:05 +0100 Subject: [PATCH 3/3] Allow manual assignment. --- .github/workflows/label.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/label.yml b/.github/workflows/label.yml index 8cbb2ee0499..9027021d052 100644 --- a/.github/workflows/label.yml +++ b/.github/workflows/label.yml @@ -35,7 +35,6 @@ jobs: uses: actions/labeler@v5 with: repo-token: "${{ secrets.GITHUB_TOKEN }}" - sync-labels: true # Label based on branch name - uses: actions-ecosystem/action-add-labels@v1