Skip to content

implement ErrorFilter and add to middlewares in HordeCore #1

implement ErrorFilter and add to middlewares in HordeCore

implement ErrorFilter and add to middlewares in HordeCore #1

---
name: update composer.json
# run whenever we push to the default branch and .horde.yml was changed
on:
push:
branches:
- FRAMEWORK_6_0
paths:
- '.horde.yml'
jobs:
run:
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: ['ubuntu-20.04']
php-versions: ['7.4']
steps:
- name: Setup git
run: |
mkdir -p ~/.ssh/ && ssh-keyscan -t rsa github.com > ~/.ssh/known_hosts
git config --global user.name "Github CI Runner"
git config --global user.email "[email protected]"
- name: Checkout
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
extensions: gettext
ini-values: post_max_size=512M, max_execution_time=360
tools: composer:v2
- name: Setup composer
run: |
composer global config github-oauth.github.com ${{ secrets.GITHUB_TOKEN }}
composer global config repositories.0 composer https://horde-satis.maintaina.com
composer global config minimum-stability dev
composer global require horde/components "dev-FRAMEWORK_6_0"
alias horde-components="~/.config/composer/web/components/bin/horde-components"
- name: create new composer.json
run: horde-components -c doc/components.conf composer
- name: push new composer.json
run: |
git add composer.json
git commit -m "automatic generation of composer.json - [ci skip]"
git push