This repository has been archived by the owner on Feb 1, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgraded dependencies, added aeon-php/autmoation integration
- Loading branch information
1 parent
a026132
commit 0419aaa
Showing
14 changed files
with
3,361 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
github: [norberttech] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<!-- Bellow section will be used to automatically generate changelog, please do not modify HTML code structure --> | ||
<h2>Change Log</h2> | ||
<div id="change-log"> | ||
<h4>Added</h4> | ||
<ul id="added"> | ||
<!-- <li>Feature making everything better</li> --> | ||
</ul> | ||
<h4>Fixed</h4> | ||
<ul id="fixed"> | ||
<!-- <li>Behavior that was incorrect</li> --> | ||
</ul> | ||
<h4>Changed</h4> | ||
<ul id="changed"> | ||
<!-- <li>Something into something new</li> --> | ||
</ul> | ||
<h4>Removed</h4> | ||
<ul id="removed"> | ||
<!-- <li>Something</li> --> | ||
</ul> | ||
<h4>Deprecated</h4> | ||
<ul id="deprecated"> | ||
<!-- <li>Something is from now deprecated</li> --> | ||
</ul> | ||
<h4>Security</h4> | ||
<ul id="security"> | ||
<!-- <li>Something that was security issue, is not an issue anymore</li> --> | ||
</ul> | ||
</div> | ||
<hr/> | ||
|
||
<h2>Description</h2> | ||
|
||
<!-- Please provide a shore description of changes in this section, feel free to use markdown syntax --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "composer" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: "Changelog - Release Unreleased" | ||
|
||
################################################################### | ||
# WARNING - THIS ACTION WILL PUSH COMMIT DIRECTLY INTO REPOSITORY # | ||
################################################################### | ||
|
||
on: | ||
push: | ||
tags: | ||
- '*' | ||
|
||
jobs: | ||
changelog-release-unreleased: | ||
name: "Update Changelog - Release Unreleased" | ||
|
||
runs-on: "ubuntu-latest" | ||
|
||
steps: | ||
- id: "tag-name" | ||
run: | | ||
tag=$(echo ${{ github.event.ref }} | cut -c11-) | ||
echo "::set-output name=tag::$tag" | ||
- name: "Update CHANGELOG" | ||
uses: "docker://aeonphp/automation:latest" | ||
env: | ||
AEON_AUTOMATION_GH_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | ||
with: | ||
entrypoint: "/composer/vendor/bin/automation" | ||
args: "changelog:release:unreleased ${{ github.repository }} CHANGELOG.md ${{ steps.tag-name.outputs.tag }} --github-file-changelog-update" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: "Changelog - Update Unreleased" | ||
|
||
################################################################### | ||
# WARNING - THIS ACTION WILL PUSH COMMIT DIRECTLY INTO REPOSITORY # | ||
################################################################### | ||
|
||
on: | ||
push: | ||
branches: | ||
- 1.x | ||
|
||
jobs: | ||
changelog-update-unreleased: | ||
name: "Changelog - Update Unreleased" | ||
|
||
runs-on: "ubuntu-latest" | ||
|
||
steps: | ||
- name: "Checkout" | ||
uses: "actions/checkout@v2" | ||
|
||
- name: "Restore Automation cache" | ||
uses: "actions/cache@v2" | ||
with: | ||
path: | | ||
cache | ||
key: "${{ runner.os }}-automation-${{ hashFiles('**/CHANGELOG.md') }}" | ||
restore-keys: | | ||
${{ runner.os }}-automation- | ||
- name: "Update CHANGELOG" | ||
uses: "docker://aeonphp/automation:latest" | ||
env: | ||
AEON_AUTOMATION_GH_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | ||
EON_AUTOMATION_CACHE_DIR: "/github/workspace/cache" | ||
with: | ||
entrypoint: "/composer/vendor/bin/automation" | ||
args: "changelog:generate ${{ github.repository }} --github-file-update-path=CHANGELOG.md --skip-from=\"dependabot[bot]\" --skip-from=\"aeon-automation\"" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: "Documentation Linter" | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- "1.x" | ||
|
||
jobs: | ||
documentation-linter: | ||
name: "Documentation Linter" | ||
|
||
runs-on: "ubuntu-latest" | ||
|
||
steps: | ||
- name: "Checkout" | ||
uses: "actions/checkout@v2" | ||
|
||
- name: "MD Link Linter" | ||
uses: "docker://norberttech/md-link-linter:latest" | ||
with: | ||
entrypoint: "/composer/vendor/bin/mdlinklint" | ||
args: "--exclude=vendor ." | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: "Pull Request Description Check" | ||
|
||
on: | ||
pull_request: | ||
types: ["opened", "edited", "reopened", "ready_for_review"] | ||
|
||
jobs: | ||
pull-request-description-check: | ||
name: "Pull Request Description" | ||
|
||
runs-on: "ubuntu-latest" | ||
|
||
steps: | ||
- name: "Pull Request Description - Check" | ||
uses: "docker://aeonphp/automation:latest" | ||
env: | ||
AEON_AUTOMATION_GH_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | ||
with: | ||
entrypoint: "/composer/vendor/bin/automation" | ||
args: "pull-request:description:check aeon-php/automation ${{ github.event.pull_request.number }} --skip-from=\"dependabot[bot]\"" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: "Release - Description Update" | ||
|
||
######################################################### | ||
# WARNING - THIS ACTION WILL UPDATE RELEASE DESCRIPTION # | ||
######################################################### | ||
|
||
on: | ||
release: | ||
types: | ||
- created | ||
|
||
jobs: | ||
release-description-update: | ||
name: "Release - Description Update" | ||
|
||
runs-on: "ubuntu-latest" | ||
|
||
steps: | ||
- name: "Update CHANGELOG" | ||
uses: "docker://aeonphp/automation:latest" | ||
env: | ||
AEON_AUTOMATION_GH_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | ||
with: | ||
entrypoint: "/composer/vendor/bin/automation" | ||
args: "changelog:generate ${{ github.repository }} --tag=${{ github.event.release.tag_name }} --github-release-update --skip-from=\"dependabot[bot]\" --skip-from=\"aeon-automation\"" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
name: "Static Analyze" | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- "1.x" | ||
schedule: | ||
- cron: '* 8 * * *' | ||
|
||
jobs: | ||
static-analyze: | ||
name: "Static Analyze" | ||
|
||
runs-on: ${{ matrix.operating-system }} | ||
|
||
strategy: | ||
matrix: | ||
dependencies: | ||
- "locked" | ||
php-version: | ||
- "7.4" | ||
operating-system: | ||
- "ubuntu-latest" | ||
|
||
steps: | ||
- name: "Checkout" | ||
uses: "actions/checkout@v2" | ||
|
||
- name: "Install PHP" | ||
uses: "shivammathur/setup-php@v2" | ||
with: | ||
coverage: pcov | ||
tools: composer:v2 | ||
php-version: "${{ matrix.php-version }}" | ||
ini-values: memory_limit=-1 | ||
|
||
- name: "Cache Composer dependencies" | ||
uses: "actions/cache@v2" | ||
with: | ||
path: | | ||
${{ steps.composer-cache.outputs.dir }} | ||
key: "php-${{ matrix.php-version }}-${{ matrix.dependencies }}-composer-${{ hashFiles('**/composer.lock') }}" | ||
restore-keys: | | ||
php-${{ matrix.php-version }}-${{ matrix.dependencies }}-composer- | ||
- name: "Install locked dependencies" | ||
run: "composer install --no-interaction --no-progress --no-suggest" | ||
|
||
- name: "Static Analyze" | ||
run: "composer static:analyze" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
/vendor/ | ||
composer.lock | ||
*.cache |
Oops, something went wrong.