Switching recipes readme to be on flex-main branch

This commit is contained in:
Ryan Weaver
2022-05-01 19:36:02 -04:00
parent 8a60492811
commit edfd6a72c4
3 changed files with 2 additions and 9 deletions
@@ -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
-2
View File
@@ -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
View File
@@ -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