-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Clean up badges in README file (#116) * improve badges * cleanup * wip * wip * wip * Configuration Elements cannot be replaced (#117) * Apply fixes from StyleCI * Update composer.json * Update release-drafter.yml * Update release-drafter.yml * Create bundler.yml * Setting release dependencies Co-authored-by: Romans Malinovskis <[email protected]> Co-authored-by: Georg Marx <[email protected]> Co-authored-by: Imants Horsts <[email protected]> Co-authored-by: GitHub Web Flow <[email protected]>
- Loading branch information
1 parent
2c2655f
commit 6313f84
Showing
9 changed files
with
106 additions
and
51 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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
# See https://github.com/release-drafter/release-drafter#configuration | ||
template: | | ||
## What’s Changed | ||
|
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,43 @@ | ||
name: Bundler | ||
|
||
on: create | ||
|
||
jobs: | ||
autocommit: | ||
name: Update to stable dependencies | ||
if: startsWith(github.ref, 'refs/heads/release/') | ||
runs-on: ubuntu-latest | ||
container: | ||
image: atk4/image:latest # https://github.com/atk4/image | ||
steps: | ||
- uses: actions/checkout@master | ||
- run: echo ${{ github.ref }} | ||
- name: Update to stable dependencies | ||
run: | | ||
# replaces X keys with X-release keys | ||
jq '. as $in | reduce (keys_unsorted[] | select(endswith("-release")|not)) as $k ({}; . + {($k) : (($k + "-release") as $kr | $in | if has($kr) then .[$kr] else .[$k] end) } )' < composer.json > tmp && mv tmp composer.json | ||
v=$(echo ${{ github.ref }} | cut -d / -f 4) | ||
echo "::set-env name=version::$v" | ||
- uses: teaminkling/autocommit@master | ||
with: | ||
commit-message: Setting release dependencies | ||
- uses: ad-m/github-push-action@master | ||
with: | ||
branch: ${{ github.ref }} | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: pull-request | ||
uses: romaninsh/pull-request@master | ||
with: | ||
source_branch: "release/${{ env.version }}" | ||
destination_branch: "master" # If blank, default: master | ||
pr_title: "Releasing ${{ env.version }} into master" | ||
pr_body: | | ||
- [ ] Review changes (must include stable dependencies) | ||
- [ ] Merge this PR into master (will delete ${{ github.ref }}) | ||
- [ ] Go to Releases and create TAG from master | ||
Do not merge master into develop | ||
pr_reviewer: "romaninsh" | ||
pr_assignee: "romaninsh" | ||
github_token: ${{ secrets.GITHUB_TOKEN }} |
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
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
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
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,42 +1,51 @@ | ||
{ | ||
"name": "atk4/core", | ||
"type": "library", | ||
"description": "Agile Core - collection of PHP Traits for designing object-oriented frameworks", | ||
"keywords": ["php", "framework", "trains", "agile toolkit"], | ||
"homepage": "https://github.com/atk4/core", | ||
"license": "MIT", | ||
"minimum-stability": "dev", | ||
"prefer-stable": true, | ||
"authors": [ | ||
{ | ||
"name": "Romans Malinovskis", | ||
"email": "[email protected]", | ||
"homepage": "https://nearly.guru/" | ||
} | ||
], | ||
"require": { | ||
"php": ">=7.2.0", | ||
"psr/log": "~1.0", | ||
"ext-json": "*" | ||
}, | ||
"require-dev": { | ||
"phpunit/phpunit": "*", | ||
"symfony/yaml": "~2.1|~3.0|~4.0", | ||
"satooshi/php-coveralls": "^1.0", | ||
"codeclimate/php-test-reporter": "*", | ||
"symfony/contracts": "^1.1", | ||
"atk4/data": "dev-develop" | ||
}, | ||
"replace": { | ||
"atk4/core": "self.version" | ||
}, | ||
"suggest": { | ||
"symfony/yaml": "~2.1|~3.0|~4.0" | ||
}, | ||
"autoload": { | ||
"psr-4": {"atk4\\core\\":"src/"} | ||
}, | ||
"autoload-dev": { | ||
"psr-4": {"atk4\\core\\tests\\":"tests/"} | ||
"name": "atk4/core", | ||
"type": "library", | ||
"description": "Agile Core - collection of PHP Traits for designing object-oriented frameworks", | ||
"keywords": [ | ||
"php", | ||
"framework", | ||
"traits", | ||
"agile toolkit" | ||
], | ||
"homepage": "https://github.com/atk4/core", | ||
"license": "MIT", | ||
"minimum-stability": "dev", | ||
"prefer-stable": true, | ||
"authors": [ | ||
{ | ||
"name": "Romans Malinovskis", | ||
"email": "[email protected]", | ||
"homepage": "https://nearly.guru/" | ||
} | ||
], | ||
"require": { | ||
"php": ">=7.2.0", | ||
"psr/log": "~1.0", | ||
"ext-json": "*" | ||
}, | ||
"require-dev": { | ||
"phpunit/phpunit": "*", | ||
"symfony/yaml": "~2.1|~3.0|~4.0", | ||
"satooshi/php-coveralls": "^1.0", | ||
"codeclimate/php-test-reporter": "*", | ||
"symfony/contracts": "^1.1", | ||
"atk4/data": "^2.0" | ||
}, | ||
"replace": { | ||
"atk4/core": "self.version" | ||
}, | ||
"suggest": { | ||
"symfony/yaml": "~2.1|~3.0|~4.0" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"atk4\\core\\": "src/" | ||
} | ||
}, | ||
"autoload-dev": { | ||
"psr-4": { | ||
"atk4\\core\\tests\\": "tests/" | ||
} | ||
} | ||
} |
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
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
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