From ffb0f1a13da78396c04b86aac3accc40bd209742 Mon Sep 17 00:00:00 2001 From: marko-bekhta Date: Mon, 4 Nov 2024 09:11:25 +0100 Subject: [PATCH] Update wg template output --- .github/workflows/sync-working-groups.yml | 8 ++++---- working-groups/templates/wg.yaml | 14 -------------- 2 files changed, 4 insertions(+), 18 deletions(-) delete mode 100644 working-groups/templates/wg.yaml diff --git a/.github/workflows/sync-working-groups.yml b/.github/workflows/sync-working-groups.yml index d3b8010cbef..6c3da18b958 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 + jbangargs: --verbose -Dworking-groups.output=_data/wg.yaml.template 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 deleted file mode 100644 index b11bec761d5..00000000000 --- a/working-groups/templates/wg.yaml +++ /dev/null @@ -1,14 +0,0 @@ ---- -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