Skip to content

Commit

Permalink
Merge etl-adapter-logger/1.x
Browse files Browse the repository at this point in the history
  • Loading branch information
norberttech committed Jul 24, 2022
2 parents 630aa3f + eab3cc4 commit e1c5de7
Show file tree
Hide file tree
Showing 28 changed files with 6,732 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/adapter/etl-adapter-logger/.gitattributes
@@ -0,0 +1,13 @@
*.php text eol=lf
/composer.lock export-ignore
/.github/ export-ignore
/docs export-ignore
/tests export-ignore
/tools/ export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore
/.php_cs export-ignore
/phpstan.neon export-ignore
/phpunit.xml export-ignore
/psalm.xml export-ignore
/infection.json export-ignore
33 changes: 33 additions & 0 deletions src/adapter/etl-adapter-logger/.github/PULL_REQUEST_TEMPLATE.md
@@ -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 -->
10 changes: 10 additions & 0 deletions src/adapter/etl-adapter-logger/.github/dependabot.yml
@@ -0,0 +1,10 @@
version: 2
updates:
- package-ecosystem: "composer"
directory: "/"
schedule:
interval: "daily"
- package-ecosystem: "composer"
directory: "/tools"
schedule:
interval: "daily"
@@ -0,0 +1,11 @@
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 }}"
@@ -0,0 +1,11 @@
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 }}"
@@ -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 }}"
@@ -0,0 +1,11 @@
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 }}"
@@ -0,0 +1,29 @@
name: Dependabot - Auto Merge

on:
workflow_run:
types: [ completed ]
workflows: [ "Quality Assurance" ]

jobs:
merge-me:
name: "Merge me!"
runs-on: ubuntu-latest
steps:
- # It is often a desired behavior to merge only when a workflow execution
# succeeds. This can be changed as needed.
if: ${{ github.event.workflow_run.conclusion == 'success' }}
name: Merge me!
uses: ridedott/merge-me-action@v2
with:
# Depending on branch protection rules, a manually populated
# `GITHUB_TOKEN_WORKAROUND` secret with permissions to push to
# a protected branch must be used. This secret can have an arbitrary
# name, as an example, this repository uses `DOTTBOTT_TOKEN`.
#
# When using a custom token, it is recommended to leave the following
# comment for other developers to be aware of the reasoning behind it:
#
# This must be used as GitHub Actions token does not support pushing
# to protected branches.
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23 changes: 23 additions & 0 deletions src/adapter/etl-adapter-logger/.github/workflows/docs.yml
@@ -0,0 +1,23 @@
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 --exclude=tests ."
@@ -0,0 +1,23 @@
name: Test Case

on:
pull_request:
push:
branches: [ 1.x ]
schedule: [ { cron: '0 8 * * *' } ]

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

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

mutation-tests:
name: "Mutation Tests"
uses: flow-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 }}
3 changes: 3 additions & 0 deletions src/adapter/etl-adapter-logger/.gitignore
@@ -0,0 +1,3 @@
vendor
*.cache
var

0 comments on commit e1c5de7

Please sign in to comment.