Skip to content

Commit edfd6a7

Browse files
committed
Switching recipes readme to be on flex-main branch
1 parent 8a60492 commit edfd6a7

File tree

3 files changed

+2
-9
lines changed

3 files changed

+2
-9
lines changed

.github/workflows/callable-recipe-readme-update.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@ name: Update RECIPES.md
33
on:
44
workflow_call:
55
inputs:
6-
# branch where the RECIPES.md will be committed
7-
branch:
8-
required: true
9-
type: string
106
contrib:
117
required: false
128
type: boolean
@@ -41,8 +37,7 @@ jobs:
4137
mkdir .github/recipe-readme
4238
git switch flex/main
4339
php .github/recipes-checker-main/run generate:recipes-readme index.json ${{ inputs.contrib && '--contrib' || '' }} > .github/recipe-readme/RECIPES.md
44-
git switch ${{ inputs.branch }}
4540
cp .github/recipe-readme/RECIPES.md RECIPES.md
4641
git add RECIPES.md
4742
git commit -m 'Update Recipes README' || true
48-
git push origin ${{ inputs.branch }}
43+
git push origin flex/main

.github/workflows/flex-update.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,3 @@ jobs:
1818
call-recipe-readme-update:
1919
needs: 'call-flex-update'
2020
uses: symfony/recipes/.github/workflows/callable-recipe-readme-update.yml@main
21-
with:
22-
branch: main

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,4 +370,4 @@ one used by ``symfony/framework-bundle``:
370370
.. _`Symfony Flex`: https://github.com/symfony/flex
371371
.. _`contrib repository`: https://github.com/symfony/recipes-contrib
372372
.. _`Symfony Console styles and colors`: https://symfony.com/doc/current/console/coloring.html
373-
.. _`RECIPES.md`: https://github.com/symfony/recipes/blob/main/RECIPES.md
373+
.. _`RECIPES.md`: https://github.com/symfony/recipes/blob/flex/main/RECIPES.md

0 commit comments

Comments
 (0)