Skip to content

Commit

Permalink
Changed custom workflows into aeon-php reusable workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
norberttech committed Jan 6, 2022
1 parent deaad1a commit a524adb
Show file tree
Hide file tree
Showing 13 changed files with 74 additions and 355 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/automatino-pr-description-validate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: "Automation - PR Description Validate"

on:
pull_request:
types: ["opened", "edited", "reopened", "ready_for_review"]

jobs:
automation:
uses: aeon-php/actions/.github/workflows/automation-pr-description-validate.yml@main
secrets:
automation_github_token: "${{ secrets.GITHUB_TOKEN }}"
12 changes: 12 additions & 0 deletions .github/workflows/automation-changelog-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: "Automation - Changelog Release"

on:
push:
tags:
- '*'

jobs:
automation:
uses: aeon-php/actions/.github/workflows/automation-changelog-release.yml@main
secrets:
automation_github_token: "${{ secrets.GITHUB_TOKEN }}"
12 changes: 12 additions & 0 deletions .github/workflows/automation-changelog-update.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: "Automation - Changelog Update"

on:
push:
branches:
- "1.x"

jobs:
automation:
uses: aeon-php/actions/.github/workflows/automation-changelog-update.yml@main
secrets:
automation_github_token: "${{ secrets.GITHUB_TOKEN }}"
12 changes: 12 additions & 0 deletions .github/workflows/automation-release-description-update.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: "Automation - Release Description Update"

on:
release:
types:
- "created"

jobs:
automation:
uses: aeon-php/actions/.github/workflows/automation-release-description-update.yml@main
secrets:
automation_github_token: "${{ secrets.GITHUB_TOKEN }}"
31 changes: 0 additions & 31 deletions .github/workflows/changelog-release.yml

This file was deleted.

38 changes: 0 additions & 38 deletions .github/workflows/changelog-update.yml

This file was deleted.

6 changes: 2 additions & 4 deletions .github/workflows/dependabot-auto-merge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@ name: "Dependabot Auto Merge"
on:
workflow_run:
types:
- completed
- "completed"
workflows:
- 'Tests'
- 'Mutation Tests'
- 'Static Analyze'
- 'Test Suite'

jobs:
merge-me:
Expand Down
80 changes: 0 additions & 80 deletions .github/workflows/mutation.yml

This file was deleted.

20 changes: 0 additions & 20 deletions .github/workflows/pull-request-description-check.yml

This file was deleted.

25 changes: 0 additions & 25 deletions .github/workflows/release-description-update.yml

This file was deleted.

77 changes: 0 additions & 77 deletions .github/workflows/static-analyze.yml

This file was deleted.

25 changes: 25 additions & 0 deletions .github/workflows/test-suite.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: "Test Suite"

on:
pull_request:
push:
branches:
- "1.x"
schedule:
- cron: '0 8 * * *'

jobs:
tests:
name: "Tests"
uses: aeon-php/actions/.github/workflows/composer-script-test.yaml@main

static-analyze:
name: "Static Analyze"
uses: aeon-php/actions/.github/workflows/composer-script-static-analyze.yaml@main

mutation-tests:
name: "Mutation Tests"
uses: aeon-php/actions/.github/workflows/composer-script-mutation.yaml@main
secrets:
infection_badge_api_key: ${{ secrets.INFECTION_BADGE_API_KEY }}
stryker_dashboard_api_key: ${{ secrets.STRYKER_DASHBOARD_API_KEY }}
Loading

0 comments on commit a524adb

Please sign in to comment.