From a3bb038c7aaadbab86e8952794310c1f6b12d1d3 Mon Sep 17 00:00:00 2001 From: ChristophShyper <45788587+ChristophShyper@users.noreply.github.com> Date: Fri, 27 Mar 2026 21:40:23 +0100 Subject: [PATCH] fix: remove legacy workflows --- .github/workflows/PUSH-MASTER.yml | 35 --------- .github/workflows/PUSH-OTHER.yml | 114 ------------------------------ 2 files changed, 149 deletions(-) delete mode 100644 .github/workflows/PUSH-MASTER.yml delete mode 100644 .github/workflows/PUSH-OTHER.yml diff --git a/.github/workflows/PUSH-MASTER.yml b/.github/workflows/PUSH-MASTER.yml deleted file mode 100644 index 4717477..0000000 --- a/.github/workflows/PUSH-MASTER.yml +++ /dev/null @@ -1,35 +0,0 @@ -name: Push to master - -on: - push: - branches: - - master - -jobs: - labels: - name: Update repo labels - runs-on: ubuntu-latest - steps: - - name: Checkout repository - uses: actions/checkout@v6 - - - name: Download labels' config - shell: bash - run: | - mkdir -p .tmp - curl -LsS https://raw.githubusercontent.com/devops-infra/.github/master/.github/labels.yml -o .tmp/labels.yml - - - name: Update labels - uses: crazy-max/ghaction-github-labeler@v6.0.0 - with: - github-token: ${{ secrets.GITHUB_TOKEN }} - yaml-file: .tmp/labels.yml - - example: - name: Example - runs-on: ubuntu-latest - steps: - - name: Example - shell: bash - run: | - echo -e "\n[INFO] Example from ${{ github.ref }}" diff --git a/.github/workflows/PUSH-OTHER.yml b/.github/workflows/PUSH-OTHER.yml deleted file mode 100644 index 30c41e1..0000000 --- a/.github/workflows/PUSH-OTHER.yml +++ /dev/null @@ -1,114 +0,0 @@ -name: Push to other branches - -on: - push: - branches-ignore: - - master - - release/* - -jobs: - labels: - name: Update repo labels - runs-on: ubuntu-latest - steps: - - name: Checkout repository - uses: actions/checkout@v6 - - - name: Download labels' config - shell: bash - run: | - mkdir -p .tmp - curl -LsS https://raw.githubusercontent.com/devops-infra/.github/master/.github/labels.yml -o .tmp/labels.yml - - - name: Update labels - dry run - uses: crazy-max/ghaction-github-labeler@v6.0.0 - with: - github-token: ${{ secrets.GITHUB_TOKEN }} - yaml-file: .tmp/labels.yml - dry-run: true - - example: - name: Example - runs-on: ubuntu-latest - steps: - - name: Example - shell: bash - run: | - echo -e "\n[INFO] Example from ${{ github.ref }}" - - pull_request: - name: Create Pull Request - runs-on: ubuntu-latest - steps: - - name: Checkout repository - uses: actions/checkout@v6 - with: - fetch-depth: 0 - - - name: Download Pull Request template - shell: bash - run: | - mkdir -p .tmp - curl -LsS https://raw.githubusercontent.com/devops-infra/.github/master/PULL_REQUEST_TEMPLATE.md -o .tmp/PULL_REQUEST_TEMPLATE.md - - - name: Create pull request - bugfix (conditional) - if: startsWith(github.ref, 'refs/heads/bugfix') - uses: devops-infra/action-pull-request@v1.0.2 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - assignee: ${{ github.actor }} - label: bugfix - template: .tmp/PULL_REQUEST_TEMPLATE.md - get_diff: true - - - name: Create pull request - dependency (conditional) - if: startsWith(github.ref, 'refs/heads/dependency') - uses: devops-infra/action-pull-request@v1.0.2 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - assignee: ${{ github.actor }} - label: dependency - template: .tmp/PULL_REQUEST_TEMPLATE.md - get_diff: true - - - name: Create pull request - documentation (conditional) - if: startsWith(github.ref, 'refs/heads/documentation') - uses: devops-infra/action-pull-request@v1.0.2 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - assignee: ${{ github.actor }} - label: documentation - template: .tmp/PULL_REQUEST_TEMPLATE.md - get_diff: true - - - name: Create pull request - feature (conditional) - if: startsWith(github.ref, 'refs/heads/feature') - uses: devops-infra/action-pull-request@v1.0.2 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - assignee: ${{ github.actor }} - label: feature - template: .tmp/PULL_REQUEST_TEMPLATE.md - get_diff: true - - - name: Create pull request - test (conditional) - if: startsWith(github.ref, 'refs/heads/test') - uses: devops-infra/action-pull-request@v1.0.2 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - assignee: ${{ github.actor }} - reviewer: ${{ github.actor }} - label: test - template: .tmp/PULL_REQUEST_TEMPLATE.md - draft: true - get_diff: true - - - name: Create pull request - other (conditional) - if: "!startsWith(github.ref, 'refs/heads/bugfix') && !startsWith(github.ref, 'refs/heads/dependabot') && !startsWith(github.ref, 'refs/heads/dependency') && !startsWith(github.ref, 'refs/heads/documentation') && !startsWith(github.ref, 'refs/heads/feature') && !startsWith(github.ref, 'refs/heads/test')" - uses: devops-infra/action-pull-request@v1.0.2 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - assignee: ${{ github.actor }} - label: feature - template: .tmp/PULL_REQUEST_TEMPLATE.md - get_diff: true