From 79c48f2466d8752a033eeba0470f477ea497b404 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20M=C3=BCller?= Date: Wed, 16 Oct 2024 20:32:26 +0200 Subject: [PATCH] update workflows --- .github/workflows/auto-approve.yml | 16 ++++++++++++++++ .github/workflows/auto-merge.yml | 16 ++++++++++++++++ .github/workflows/continuous-integration.yml | 5 ----- 3 files changed, 32 insertions(+), 5 deletions(-) create mode 100644 .github/workflows/auto-approve.yml create mode 100644 .github/workflows/auto-merge.yml diff --git a/.github/workflows/auto-approve.yml b/.github/workflows/auto-approve.yml new file mode 100644 index 0000000..e9ac3f3 --- /dev/null +++ b/.github/workflows/auto-approve.yml @@ -0,0 +1,16 @@ +name: "Auto approve" + +permissions: + pull-requests: write + contents: write + +on: + - pull_request_target + +jobs: + auto-approve: + name: "auto approve PR" + + uses: "mimmi20/ci/.github/workflows/auto-approve.yml@8.1" + with: + pullRequestUrl: "${{ github.event.pull_request.html_url }}" diff --git a/.github/workflows/auto-merge.yml b/.github/workflows/auto-merge.yml new file mode 100644 index 0000000..9f05b46 --- /dev/null +++ b/.github/workflows/auto-merge.yml @@ -0,0 +1,16 @@ +name: "Auto merge" + +permissions: + pull-requests: write + contents: write + +on: + - pull_request_target + +jobs: + automerge: + name: "enable auto merge for PR" + + uses: "mimmi20/ci/.github/workflows/auto-merge.yml@8.1" + with: + pullRequestUrl: "${{ github.event.pull_request.html_url }}" diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 07f5b8e..0e8efac 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -61,7 +61,6 @@ jobs: matrix: operating-system: - - "ubuntu-22.04" - "ubuntu-24.04" php-version: @@ -119,7 +118,6 @@ jobs: matrix: operating-system: - - "ubuntu-22.04" - "ubuntu-24.04" php-version: @@ -173,7 +171,6 @@ jobs: matrix: operating-system: - - "ubuntu-22.04" - "ubuntu-24.04" php-version: @@ -227,7 +224,6 @@ jobs: matrix: operating-system: - - "ubuntu-22.04" - "ubuntu-24.04" php-version: @@ -281,7 +277,6 @@ jobs: matrix: operating-system: - - "ubuntu-22.04" - "ubuntu-24.04" php-version: