From d46cb658c9f759c07d594a983c91aa40ab8dd3cd Mon Sep 17 00:00:00 2001 From: d3xter666 Date: Fri, 19 Sep 2025 09:51:51 +0300 Subject: [PATCH 1/2] refactor: Include v4 branch in security audit scans --- .github/workflows/security-audit.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/security-audit.yml b/.github/workflows/security-audit.yml index 546ca2a6e63..8e67dab4818 100644 --- a/.github/workflows/security-audit.yml +++ b/.github/workflows/security-audit.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - branch: ["main", "v3"] # List of branches to run the security audit on + branch: ["main", "v3", "v4"] # List of branches to run the security audit on steps: - name: Checkout '${{ matrix.branch }}' branch From 52675d15244b2d8b31c12e598beff1ed5995466b Mon Sep 17 00:00:00 2001 From: d3xter666 Date: Fri, 19 Sep 2025 10:07:23 +0300 Subject: [PATCH 2/2] refactor: Remove docs deployment. Another docs builder will be implemented for v5 --- .github/workflows/deploy-docs.yml | 71 ------------------------------- 1 file changed, 71 deletions(-) delete mode 100644 .github/workflows/deploy-docs.yml diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml deleted file mode 100644 index b57b766bcab..00000000000 --- a/.github/workflows/deploy-docs.yml +++ /dev/null @@ -1,71 +0,0 @@ -name: Build and Deploy Docs -on: - push: - branches: - - main - -permissions: - contents: write - -jobs: - build-and-deploy: - name: Build and Deploy - runs-on: ubuntu-latest - env: - MIKE_VERSION: v4 - MIKE_ALIAS: stable - DOCKER_IMAGE: ui5-cli/mkdocs-material - GIT_COMMITTER_NAME: "OpenUI5 Bot" - GIT_COMMITTER_EMAIL: "openui5@sap.com" - - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Use Node.js LTS 20.x - uses: actions/setup-node@v5.0.0 - with: - node-version: 20.x - - - name: Install npm dependencies - run: npm ci - - - name: Fetch gh-pages branch - run: git fetch origin gh-pages --depth=1 - - - name: Set /site ownership to current user - run: | - mkdir site - sudo chown -R $(id -u):$(id -g) ./site - - - name: Build docs with Mike - run: ./scripts/buildDocs.sh - - - name: Publish docs - run: docker run --rm -v $(pwd):/docs --entrypoint mike --env GIT_COMMITTER_NAME="${GIT_COMMITTER_NAME}" --env GIT_COMMITTER_EMAIL="${GIT_COMMITTER_EMAIL}" $DOCKER_IMAGE set-default stable --push - - - name: Build Schema - run: | - npm run schema-generate - npm run schema-workspace-generate - - - name: Checkout gh-pages - uses: actions/checkout@v4 - with: - ref: gh-pages - path: gh-pages - - name: Copy the additional resources to gh-pages - run: | - rm -rf ./gh-pages/schema - cp -R ./site/schema ./gh-pages/ - rm -rf ./gh-pages/$MIKE_VERSION/api - cp -R ./site/api ./gh-pages/$MIKE_VERSION/ - cp ./scripts/resources/custom404.html ./gh-pages/404.html - - name: Publish Docs - run: | - cd ./gh-pages - git config --local user.email $GIT_COMMITTER_EMAIL - git config --local user.name $GIT_COMMITTER_NAME - git add . - git commit -m "Updating supplemental resources for ${MIKE_VERSION} documentation deployment" - git push