Skip to content
This repository has been archived by the owner on Jun 15, 2023. It is now read-only.

Commit

Permalink
[Personio] Remove unused GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
joschi committed Nov 7, 2022
1 parent b46ee9c commit a189bf1
Show file tree
Hide file tree
Showing 22 changed files with 12 additions and 580 deletions.
18 changes: 2 additions & 16 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,13 @@ updates:
directory: "/"
schedule:
interval: daily
time: "10:00"
timezone: Europe/Moscow
reviewers:
- "Haarolean"
assignees:
- "Haarolean"
labels:
- "scope/backend"
- "type/dependencies"
- package-ecosystem: npm
directory: "/kafka-ui-react-app"
schedule:
interval: weekly
time: "10:00"
timezone: Europe/Moscow
interval: daily
open-pull-requests-limit: 10
versioning-strategy: increase-if-necessary
labels:
Expand Down Expand Up @@ -94,13 +86,7 @@ updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: weekly
time: "10:00"
timezone: Europe/Moscow
reviewers:
- "Haarolean"
assignees:
- "Haarolean"
interval: daily
labels:
- "scope/infrastructure"
- "type/dependencies"
76 changes: 0 additions & 76 deletions .github/workflows/aws_publisher.yaml

This file was deleted.

19 changes: 3 additions & 16 deletions .github/workflows/backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: backend
on:
push:
branches:
- master
- main
pull_request_target:
types: ["opened", "edited", "reopened", "synchronize"]
paths:
Expand All @@ -22,32 +22,19 @@ jobs:
java-version: '17'
distribution: 'zulu'
cache: 'maven'
- name: Cache SonarCloud packages
uses: actions/cache@v3
with:
path: ~/.sonar/cache
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar
- name: Build and analyze pull request target
if: ${{ github.event_name == 'pull_request_target' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN_BACKEND }}
HEAD_REF: ${{ github.head_ref }}
BASE_REF: ${{ github.base_ref }}
run: |
mvn versions:set -DnewVersion=${{ github.event.pull_request.head.sha }}
mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar \
-Dsonar.projectKey=com.provectus:kafka-ui_backend \
-Dsonar.pullrequest.key=${{ github.event.pull_request.number }} \
-Dsonar.pullrequest.branch=$HEAD_REF \
-Dsonar.pullrequest.base=$BASE_REF
mvn -B verify
- name: Build and analyze push master
if: ${{ github.event_name == 'push' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN_BACKEND }}
run: |
mvn versions:set -DnewVersion=$GITHUB_SHA
mvn -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar \
-Dsonar.projectKey=com.provectus:kafka-ui_backend
mvn -B verify
13 changes: 0 additions & 13 deletions .github/workflows/block_merge.yml

This file was deleted.

99 changes: 0 additions & 99 deletions .github/workflows/branch-deploy.yml

This file was deleted.

28 changes: 0 additions & 28 deletions .github/workflows/branch-remove.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ name: "CodeQL"

on:
push:
branches: [ master ]
branches: [ main ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ master ]
branches: [ main ]
paths:
- 'kafka-ui-contract/**'
- 'kafka-ui-react-app/**'
Expand Down
40 changes: 0 additions & 40 deletions .github/workflows/delete-public-image.yml

This file was deleted.

10 changes: 1 addition & 9 deletions .github/workflows/frontend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: frontend
on:
push:
branches:
- master
- main
pull_request_target:
types: ["opened", "edited", "reopened", "synchronize"]
paths:
Expand Down Expand Up @@ -45,11 +45,3 @@ jobs:
run: |
cd kafka-ui-react-app/
pnpm test:CI
- name: SonarCloud Scan
uses: workshur/sonarcloud-github-action@improved_basedir
with:
projectBaseDir: ./kafka-ui-react-app
args: -Dsonar.pullrequest.key=${{ github.event.pull_request.number }} -Dsonar.pullrequest.branch=${{ github.head_ref }} -Dsonar.pullrequest.base=${{ github.base_ref }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN_FRONTEND }}
2 changes: 1 addition & 1 deletion .github/workflows/helm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
pull_request:
types: ["opened", "edited", "reopened", "synchronize"]
branches:
- 'master'
- 'main'
paths:
- "charts/**"
jobs:
Expand Down
Loading

0 comments on commit a189bf1

Please sign in to comment.