mirror of
https://github.com/symfony/recipes.git
synced 2026-09-11 15:16:30 +03:00
Switching recipes readme to be on flex-main branch
This commit is contained in:
@@ -3,10 +3,6 @@ name: Update RECIPES.md
|
||||
on:
|
||||
workflow_call:
|
||||
inputs:
|
||||
# branch where the RECIPES.md will be committed
|
||||
branch:
|
||||
required: true
|
||||
type: string
|
||||
contrib:
|
||||
required: false
|
||||
type: boolean
|
||||
@@ -41,8 +37,7 @@ jobs:
|
||||
mkdir .github/recipe-readme
|
||||
git switch flex/main
|
||||
php .github/recipes-checker-main/run generate:recipes-readme index.json ${{ inputs.contrib && '--contrib' || '' }} > .github/recipe-readme/RECIPES.md
|
||||
git switch ${{ inputs.branch }}
|
||||
cp .github/recipe-readme/RECIPES.md RECIPES.md
|
||||
git add RECIPES.md
|
||||
git commit -m 'Update Recipes README' || true
|
||||
git push origin ${{ inputs.branch }}
|
||||
git push origin flex/main
|
||||
|
||||
@@ -18,5 +18,3 @@ jobs:
|
||||
call-recipe-readme-update:
|
||||
needs: 'call-flex-update'
|
||||
uses: symfony/recipes/.github/workflows/callable-recipe-readme-update.yml@main
|
||||
with:
|
||||
branch: main
|
||||
|
||||
+1
-1
@@ -370,4 +370,4 @@ one used by ``symfony/framework-bundle``:
|
||||
.. _`Symfony Flex`: https://github.com/symfony/flex
|
||||
.. _`contrib repository`: https://github.com/symfony/recipes-contrib
|
||||
.. _`Symfony Console styles and colors`: https://symfony.com/doc/current/console/coloring.html
|
||||
.. _`RECIPES.md`: https://github.com/symfony/recipes/blob/main/RECIPES.md
|
||||
.. _`RECIPES.md`: https://github.com/symfony/recipes/blob/flex/main/RECIPES.md
|
||||
|
||||
Reference in New Issue
Block a user