[ci] Fix BOT_TOKEN auth for the Flex endpoint update push

This commit is contained in:
Fabien Potencier
2026-05-29 23:17:31 +02:00
parent 08473dd353
commit 5dc43f1928
2 changed files with 7 additions and 1 deletions
+5 -1
View File
@@ -13,6 +13,9 @@ on:
versions_json:
required: false
type: string
secrets:
token:
required: true
jobs:
flex-update:
@@ -52,4 +55,5 @@ jobs:
php .github/recipes-checker-main/run generate:recipes-readme index.json ${{ inputs.contrib && '--contrib' || '' }} > RECIPES.md
git add RECIPES.md
git commit -m 'Update Flex endpoint' || true
git push origin -f flex/main
git config --local --unset-all http.https://github.com/.extraheader || true
git push -f "https://x-access-token:${{ secrets.token }}@github.com/${{ github.repository }}" "flex/main"
+2
View File
@@ -14,3 +14,5 @@ jobs:
uses: symfony/recipes/.github/workflows/callable-flex-update.yml@main
with:
versions_json: .github/versions.json
secrets:
token: ${{ secrets.BOT_TOKEN }}