From 549013301b28a88279bdb27589e2cf99ad3151b3 Mon Sep 17 00:00:00 2001 From: Martin Oppitz <6279703+deleonio@users.noreply.github.com> Date: Sat, 1 Feb 2025 04:30:19 +0100 Subject: [PATCH 1/2] Remove auto file generator workflow Refs: #7340 --- .github/workflows/auto-file-generator.yml | 70 ----------------------- 1 file changed, 70 deletions(-) delete mode 100644 .github/workflows/auto-file-generator.yml diff --git a/.github/workflows/auto-file-generator.yml b/.github/workflows/auto-file-generator.yml deleted file mode 100644 index 7551a882e6..0000000000 --- a/.github/workflows/auto-file-generator.yml +++ /dev/null @@ -1,70 +0,0 @@ -name: Auto file generator - -on: - schedule: - - cron: '0 2 * * *' - workflow_dispatch: - -jobs: - update: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - persist-credentials: false - ref: 'develop' - - # - uses: pnpm/action-setup@v4 - # with: - # run_install: false - # version: 8 - # - uses: actions/setup-node@v4 - # with: - # cache: pnpm - # node-version: 20 - - # https://github.com/pnpm/action-setup#use-cache-to-reduce-installation-time - - name: Install Node.js - uses: actions/setup-node@v4 - with: - # cache: pnpm - node-version: 20 - - uses: pnpm/action-setup@v4 - name: Install pnpm - id: pnpm-install - with: - version: 9 - run_install: false - - name: Get pnpm store directory - id: pnpm-cache - shell: bash - run: | - echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT - - uses: actions/cache@v4 - name: Setup pnpm cache - with: - path: ${{ steps.pnpm-cache.outputs.STORE_PATH }} - key: ${{ runner.os }}-pnpm-store # -${{ hashFiles('**/pnpm-lock.yaml') }} - restore-keys: | - ${{ runner.os }}-pnpm-store - - - name: Create new branch - run: git checkout -b chore/auto-file-gen - - name: Install dependencies - run: pnpm i - - name: Build all packages - run: npm run pack - - name: Commit changed files - run: | - git config --local user.email "action@github.com" - git config --local user.name "GitHub Action" - git add . - git status - git commit -m "chore: auto file generate" - - - uses: ad-m/github-push-action@master - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - branch: 'chore/auto-file-gen' - force: true From 6b16306172aae168867c40b86ab0a99a7d4c10ce Mon Sep 17 00:00:00 2001 From: Martin Oppitz <6279703+deleonio@users.noreply.github.com> Date: Sat, 1 Feb 2025 04:30:23 +0100 Subject: [PATCH 2/2] Fix concurrency group syntax in dod-checker workflow Refs: #7340 --- .github/workflows/dod-checker.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dod-checker.yml b/.github/workflows/dod-checker.yml index 2a8f4df88c..73b9975eff 100644 --- a/.github/workflows/dod-checker.yml +++ b/.github/workflows/dod-checker.yml @@ -4,7 +4,7 @@ on: types: [opened, edited, synchronize] concurrency: - group: pr-{{ github.event.pull_request.number }} + group: 'pr-${{ github.event.pull_request.number }}' cancel-in-progress: true jobs: