File tree Expand file tree Collapse file tree 3 files changed +2
-9
lines changed Expand file tree Collapse file tree 3 files changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -3,10 +3,6 @@ name: Update RECIPES.md
3
3
on :
4
4
workflow_call :
5
5
inputs :
6
- # branch where the RECIPES.md will be committed
7
- branch :
8
- required : true
9
- type : string
10
6
contrib :
11
7
required : false
12
8
type : boolean
41
37
mkdir .github/recipe-readme
42
38
git switch flex/main
43
39
php .github/recipes-checker-main/run generate:recipes-readme index.json ${{ inputs.contrib && '--contrib' || '' }} > .github/recipe-readme/RECIPES.md
44
- git switch ${{ inputs.branch }}
45
40
cp .github/recipe-readme/RECIPES.md RECIPES.md
46
41
git add RECIPES.md
47
42
git commit -m 'Update Recipes README' || true
48
- git push origin ${{ inputs.branch }}
43
+ git push origin flex/main
Original file line number Diff line number Diff line change 18
18
call-recipe-readme-update :
19
19
needs : ' call-flex-update'
20
20
uses : symfony/recipes/.github/workflows/callable-recipe-readme-update.yml@main
21
- with :
22
- branch : main
Original file line number Diff line number Diff line change @@ -370,4 +370,4 @@ one used by ``symfony/framework-bundle``:
370
370
.. _`Symfony Flex` : https://github.com/symfony/flex
371
371
.. _`contrib repository` : https://github.com/symfony/recipes-contrib
372
372
.. _`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
You can’t perform that action at this time.
0 commit comments