Skip to content

Commit

Permalink
fix(global-replicator): remove unused workflows (#338)
Browse files Browse the repository at this point in the history
  • Loading branch information
ReenigneArcher authored May 26, 2024
1 parent 8fa5106 commit ff24ee6
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 143 deletions.
28 changes: 0 additions & 28 deletions .github/pr_release_template.md

This file was deleted.

35 changes: 0 additions & 35 deletions .github/workflows/auto-create-pr.yml

This file was deleted.

64 changes: 0 additions & 64 deletions .github/workflows/automerge.yml

This file was deleted.

6 changes: 2 additions & 4 deletions .github/workflows/ci-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ name: CI Docker

on:
pull_request:
branches: [master, nightly]
branches: [master]
types: [opened, synchronize, reopened]
push:
branches: [master, nightly]
branches: [master]
workflow_dispatch:

concurrency:
Expand Down Expand Up @@ -210,8 +210,6 @@ jobs:
if [[ $GITHUB_REF == refs/heads/master ]]; then
TAGS="${TAGS},${BASE_TAG}:latest${{ matrix.tag }},ghcr.io/${BASE_TAG}:latest${{ matrix.tag }}"
TAGS="${TAGS},${BASE_TAG}:master${{ matrix.tag }},ghcr.io/${BASE_TAG}:master${{ matrix.tag }}"
elif [[ $GITHUB_REF == refs/heads/nightly ]]; then
TAGS="${TAGS},${BASE_TAG}:nightly${{ matrix.tag }},ghcr.io/${BASE_TAG}:nightly${{ matrix.tag }}"
else
TAGS="${TAGS},${BASE_TAG}:test${{ matrix.tag }},ghcr.io/${BASE_TAG}:test${{ matrix.tag }}"
fi
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ name: "CodeQL"

on:
push:
branches: ["master", "nightly"]
branches: ["master"]
pull_request:
branches: ["master", "nightly"]
branches: ["master"]
schedule:
- cron: '00 12 * * 0' # every Sunday at 12:00 UTC

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cpp-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ name: C++ Lint

on:
pull_request:
branches: [master, nightly]
branches: [master]
types: [opened, synchronize, reopened]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: "${{ github.workflow }}-${{ github.ref }}"
cancel-in-progress: true

jobs:
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/global-replicator.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
---
# This workflow does not need to be replicated to other repositories. This workflow will update the files in other org
# repos. Currently, this workflow will only run on a workflow dispatch event. Once a solution is made to use the same
# PR branch for updates we can enable updating on push events into `master` branch.
# repos.

name: Global replicator

on:
push:
branches: [master] # only files that were changed in the commit will be replicated
branches: [master] # only files that changed in the commit will be replicated, unless using `workflow_dispatch`
workflow_dispatch:
inputs:
repo_name:
Expand Down Expand Up @@ -46,6 +45,9 @@ jobs:
committer_email: ${{ secrets.GH_BOT_EMAIL }}
patterns_to_ignore: ''
patterns_to_remove: >-
.github/pr_release_template.md,
.github/workflows/auto-create-pr.yml,
.github/workflows/automerge.yml,
.github/workflows/autoupdate.yml,
.github/workflows/autoupdate-labeler.yml,
.github/workflows/ci-qodana.yml,
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/python-flake8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ name: flake8

on:
pull_request:
branches: [master, nightly]
branches: [master]
types: [opened, synchronize, reopened]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: "${{ github.workflow }}-${{ github.ref }}"
cancel-in-progress: true

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/renovate-config-validator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
types: [opened, synchronize, reopened]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: "${{ github.workflow }}-${{ github.ref }}"
cancel-in-progress: true

jobs:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/yaml-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ name: yaml lint

on:
pull_request:
branches: [master, nightly]
branches: [master]
types: [opened, synchronize, reopened]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: "${{ github.workflow }}-${{ github.ref }}"
cancel-in-progress: true

jobs:
Expand Down

0 comments on commit ff24ee6

Please sign in to comment.