From 296f44fe732bb34518e8366c3c10bbd79a03d200 Mon Sep 17 00:00:00 2001 From: Yi Lin Date: Fri, 20 Oct 2023 04:49:25 +0000 Subject: [PATCH 1/2] Synchronize mmtk-core issue labels to other repos --- .github/workflows/sync-github-labels.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/sync-github-labels.yml diff --git a/.github/workflows/sync-github-labels.yml b/.github/workflows/sync-github-labels.yml new file mode 100644 index 0000000000..b73bebdb7f --- /dev/null +++ b/.github/workflows/sync-github-labels.yml @@ -0,0 +1,18 @@ +name: Synchronize Github labels + +on: + label: + types: [created, deleted, edited] + +jobs: + sync-github-labels: + runs-on: ubuntu-latest + strategy: + matrix: + repo: [mmtk-openjdk, mmtk-jikesrvm, mmtk-v8, mmtk-ruby, mmtk-julia] + steps: + - name: Sync to mmtk-openjdk + run: | + gh label clone mmtk/mmtk-core --repo ${{ matrix.repo }} + env: + GITHUB_TOKEN: ${{ secrets.CI_ACCESS_TOKEN }} From f93669ca08e42c09df42e711ab964d062b615cc0 Mon Sep 17 00:00:00 2001 From: Yi Lin Date: Fri, 20 Oct 2023 05:00:09 +0000 Subject: [PATCH 2/2] Minor change --- .github/workflows/sync-github-labels.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sync-github-labels.yml b/.github/workflows/sync-github-labels.yml index b73bebdb7f..7dbed05cf5 100644 --- a/.github/workflows/sync-github-labels.yml +++ b/.github/workflows/sync-github-labels.yml @@ -11,7 +11,7 @@ jobs: matrix: repo: [mmtk-openjdk, mmtk-jikesrvm, mmtk-v8, mmtk-ruby, mmtk-julia] steps: - - name: Sync to mmtk-openjdk + - name: Sync to ${{ matrix.repo }} run: | gh label clone mmtk/mmtk-core --repo ${{ matrix.repo }} env: