Skip to content

Commit

Permalink
update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
mimmi20 committed Oct 16, 2024
1 parent 8f96489 commit 79c48f2
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 5 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/auto-approve.yml
Original file line number Diff line number Diff line change
@@ -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 }}"
16 changes: 16 additions & 0 deletions .github/workflows/auto-merge.yml
Original file line number Diff line number Diff line change
@@ -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 }}"
5 changes: 0 additions & 5 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ jobs:

matrix:
operating-system:
- "ubuntu-22.04"
- "ubuntu-24.04"

php-version:
Expand Down Expand Up @@ -119,7 +118,6 @@ jobs:

matrix:
operating-system:
- "ubuntu-22.04"
- "ubuntu-24.04"

php-version:
Expand Down Expand Up @@ -173,7 +171,6 @@ jobs:

matrix:
operating-system:
- "ubuntu-22.04"
- "ubuntu-24.04"

php-version:
Expand Down Expand Up @@ -227,7 +224,6 @@ jobs:

matrix:
operating-system:
- "ubuntu-22.04"
- "ubuntu-24.04"

php-version:
Expand Down Expand Up @@ -281,7 +277,6 @@ jobs:

matrix:
operating-system:
- "ubuntu-22.04"
- "ubuntu-24.04"

php-version:
Expand Down

0 comments on commit 79c48f2

Please sign in to comment.