diff --git a/.github/workflows/dependabot-auto-merge.yml b/.github/workflows/dependabot-auto-merge.yml index 65bd4559a66..1d164dba0b5 100644 --- a/.github/workflows/dependabot-auto-merge.yml +++ b/.github/workflows/dependabot-auto-merge.yml @@ -11,7 +11,7 @@ permissions: jobs: dependabot: runs-on: ubuntu-latest - if: ${{ github.actor == 'dependabot[bot]' && github.event.pull_request.auto_merge == null }} + if: ${{ github.event.pull_request.user.login == 'dependabot[bot]' && github.event.pull_request.auto_merge == null }} steps: - name: Dependabot metadata id: metadata diff --git a/.github/workflows/deploy-vitepress-docs.yaml b/.github/workflows/deploy-vitepress-docs.yaml index 3affbfdaae7..821ca09e91e 100644 --- a/.github/workflows/deploy-vitepress-docs.yaml +++ b/.github/workflows/deploy-vitepress-docs.yaml @@ -28,11 +28,13 @@ jobs: GIT_COMMITTER_NAME: "OpenUI5 Bot" GIT_COMMITTER_EMAIL: "openui5@sap.com" GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + REPO_NAME: ${{ github.event.repository.name }} steps: - name: Checkout uses: actions/checkout@v6 with: fetch-depth: 0 + persist-credentials: false - name: Setup Node uses: actions/setup-node@v6 with: @@ -57,10 +59,10 @@ jobs: working-directory: internal/documentation run: | # The base output - npm run build:vitepress -- --base="/${{ github.event.repository.name }}/${DOC_VERSION}/" + npm run build:vitepress -- --base="/${REPO_NAME}/${DOC_VERSION}/" npm run build:assets -- ./dist # The alias output - npm run build:vitepress -- --base="/${{ github.event.repository.name }}/${DOC_ALIAS}/" --outDir="dist-${DOC_ALIAS}" + npm run build:vitepress -- --base="/${REPO_NAME}/${DOC_ALIAS}/" --outDir="dist-${DOC_ALIAS}" npm run build:assets -- ./dist-${DOC_ALIAS} - name: Build Schema working-directory: internal/documentation diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 3bfe68b6a8f..c96080dcd3c 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -5,13 +5,14 @@ on: branches: - main -permissions: - contents: write - pull-requests: write +permissions: {} jobs: release-please: runs-on: ubuntu-24.04 + permissions: + contents: write + pull-requests: write outputs: releases_created: ${{ steps.release.outputs.releases_created }} steps: