From bc98ad30df8ee2e3615fb0585b94a100042f0d4b Mon Sep 17 00:00:00 2001 From: d3xter666 Date: Fri, 19 Sep 2025 09:49:33 +0300 Subject: [PATCH] refactor: Adjust CI jobs for v4 branch --- .github/dependabot.yml | 19 --------------- .github/workflows/dependabot-auto-merge.yml | 2 +- .github/workflows/deploy-docs.yml | 2 +- .github/workflows/github-ci.yml | 4 ++-- .github/workflows/issues.yml | 21 ----------------- .github/workflows/reuse-compliance.yml | 4 ++-- .github/workflows/security-audit.yml | 26 --------------------- 7 files changed, 6 insertions(+), 72 deletions(-) delete mode 100644 .github/dependabot.yml delete mode 100644 .github/workflows/issues.yml delete mode 100644 .github/workflows/security-audit.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index ebf6ca750f8..00000000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,19 +0,0 @@ -version: 2 -updates: -- package-ecosystem: "github-actions" - directory: "/" - schedule: - interval: "weekly" -- package-ecosystem: npm - directory: "/" - schedule: - interval: weekly - day: sunday - time: "10:00" - timezone: Etc/UCT - reviewers: - - "SAP/ui5-foundation" - versioning-strategy: increase - commit-message: - prefix: "[DEPENDENCY] " - prefix-development: "[INTERNAL] " diff --git a/.github/workflows/dependabot-auto-merge.yml b/.github/workflows/dependabot-auto-merge.yml index 700e76edc2d..43d92c94fd6 100644 --- a/.github/workflows/dependabot-auto-merge.yml +++ b/.github/workflows/dependabot-auto-merge.yml @@ -2,7 +2,7 @@ name: Dependabot auto-merge on: pull_request: branches: - - main + - v4 permissions: contents: write diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index b57b766bcab..1ba2ba37950 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -2,7 +2,7 @@ name: Build and Deploy Docs on: push: branches: - - main + - v4 permissions: contents: write diff --git a/.github/workflows/github-ci.yml b/.github/workflows/github-ci.yml index 8ce229a3789..7981336d9be 100644 --- a/.github/workflows/github-ci.yml +++ b/.github/workflows/github-ci.yml @@ -3,10 +3,10 @@ name: GitHub CI on: push: branches: - - main + - v4 pull_request: branches: - - main + - v4 # No permissions are required for this workflow permissions: {} diff --git a/.github/workflows/issues.yml b/.github/workflows/issues.yml deleted file mode 100644 index f4603cfbcac..00000000000 --- a/.github/workflows/issues.yml +++ /dev/null @@ -1,21 +0,0 @@ -name: Issue/Pull Request Handling -on: - schedule: - - cron: '00 20 * * *' - -permissions: - issues: write - -jobs: - stale: - name: Flag and close stale issues - runs-on: ubuntu-latest - steps: - - uses: actions/stale@v9 - with: - stale-issue-message: 'This issue has been automatically marked as stale because it has been open for 60 days with no activity. It will be closed in 10 days if no further activity occurs.' - stale-issue-label: 'stale' - stale-pr-label: 'stale' - days-before-stale: 60 - days-before-close: 10 - only-labels: 'information required' diff --git a/.github/workflows/reuse-compliance.yml b/.github/workflows/reuse-compliance.yml index 191f39cadab..3dbdbb22ff9 100644 --- a/.github/workflows/reuse-compliance.yml +++ b/.github/workflows/reuse-compliance.yml @@ -3,10 +3,10 @@ name: REUSE on: push: branches: - - main + - v4 pull_request: branches: - - main + - v4 # No permissions are required for this workflow permissions: {} diff --git a/.github/workflows/security-audit.yml b/.github/workflows/security-audit.yml deleted file mode 100644 index 546ca2a6e63..00000000000 --- a/.github/workflows/security-audit.yml +++ /dev/null @@ -1,26 +0,0 @@ -name: Security Audit - -on: - schedule: - - cron: "36 4 * * *" # Run once a day - workflow_dispatch: - -# No permissions are required for this workflow -permissions: {} - -jobs: - security-scan: - name: Security Audit - runs-on: ubuntu-latest - strategy: - matrix: - branch: ["main", "v3"] # List of branches to run the security audit on - - steps: - - name: Checkout '${{ matrix.branch }}' branch - uses: actions/checkout@v4 - with: - ref: ${{ matrix.branch }} - - - name: Use audit-ci - run: npx audit-ci@^7 --config ./audit-ci.jsonc