diff --git a/.github/workflows/callable-recipe-readme-update.yml b/.github/workflows/callable-recipe-readme-update.yml index 99c531ab..22235f88 100644 --- a/.github/workflows/callable-recipe-readme-update.yml +++ b/.github/workflows/callable-recipe-readme-update.yml @@ -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 diff --git a/.github/workflows/flex-update.yml b/.github/workflows/flex-update.yml index a9d0c294..ab4d6278 100644 --- a/.github/workflows/flex-update.yml +++ b/.github/workflows/flex-update.yml @@ -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 diff --git a/README.rst b/README.rst index 470b9ccc..6dccb29e 100644 --- a/README.rst +++ b/README.rst @@ -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