From 3c54562b40e78e137b5c3750cfb07417affb783c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yoann=20Rodi=C3=A8re?= Date: Mon, 4 Nov 2024 17:18:12 +0100 Subject: [PATCH] Revert "Merge pull request #2153 from marko-bekhta/fix/27-retire-followup" This reverts commit 3a9eda002ae76018e422bde92e29781f9af9b6e0, reversing changes made to efc9dbe18c64f0bb94bc188273732d984fc2fa51. --- .github/workflows/sync-working-groups.yml | 8 ++++---- working-groups/templates/wg.yaml | 14 ++++++++++++++ 2 files changed, 18 insertions(+), 4 deletions(-) create mode 100644 working-groups/templates/wg.yaml diff --git a/.github/workflows/sync-working-groups.yml b/.github/workflows/sync-working-groups.yml index 6c3da18b958..d3b8010cbef 100644 --- a/.github/workflows/sync-working-groups.yml +++ b/.github/workflows/sync-working-groups.yml @@ -22,21 +22,21 @@ jobs: with: distribution: temurin java-version: ${{ env.JVM_VERSION }} - + - name: Build working groups YAML file uses: jbangdev/jbang-action@v0.119.0 with: script: working-groups/main.java - jbangargs: --verbose -Dworking-groups.output=_data/wg.yaml.template + jbangargs: --verbose -Dworking-groups.output=_data/wg.yaml env: JBANG_REPO: /root/.jbang/repository - GITHUB_TOKEN: ${{ secrets.SYNC_WORKING_GROUP_TOKEN }} + GITHUB_TOKEN: ${{ secrets.SYNC_WORKING_GROUP_TOKEN }} - name: Configure Git author run: | git config --local user.email "action@github.com" git config --local user.name "GitHub Action" - + - name: Commit changes shell: bash run: | diff --git a/working-groups/templates/wg.yaml b/working-groups/templates/wg.yaml new file mode 100644 index 00000000000..b11bec761d5 --- /dev/null +++ b/working-groups/templates/wg.yaml @@ -0,0 +1,14 @@ +--- +working-groups: + {#for board in boards} + - title: "{board.title}" + board-url: "{board.url}" + short-description: {board.shortDescription.trim()} + readme: | + {board.getIndentedReadme().raw} + status: {board.getBadgeText()} + last-activity: {board.getLastActivityDate()} + {#if board.getLastUpdate() && board.getLastUpdate().body.trim()} + last-update: {board.getLastUpdate().body.trim()} + {/if} + {/for} \ No newline at end of file