Skip to content

Ci composer json

Ci composer json #17

Workflow file for this run

name: Check
on:
#push:
# branches: ['main', '*.*.x']
pull_request:
paths:
- composer.json
jobs:
composer:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
sparse-checkout: composer.json
- run: |
description="--description `jq .description composer.json`"
topics=`jq '.keywords | map(ascii_downcase) | map(tojson) | map("--add-topic " + .) | join(" ")' composer.json -r`
sh -c "gh repo edit typhoon-php/template $description $topics" sh
env:
GH_TOKEN: ${{ secrets.TYPHOON_REPO_ADMIN_TOKEN }}