From 8130145858802557df0633c4e940e46a4695796b Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Tue, 23 Nov 2021 11:09:41 +0100 Subject: [PATCH] Hit raw.githubusercontent.com to work around rate limiting --- .github/workflows/callable-qa.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/callable-qa.yml b/.github/workflows/callable-qa.yml index ec79821e..39afe25b 100644 --- a/.github/workflows/callable-qa.yml +++ b/.github/workflows/callable-qa.yml @@ -77,7 +77,7 @@ jobs: if: "always() && steps.checkout.outcome == 'success'" run: | find * -mindepth 1 -maxdepth 1 -type d | sort \ - | .github/recipes-checker-main/run diff-recipe-versions 'https://api.github.com/repos/${{ github.repository }}/contents/index.json?ref=flex/pull-${{ github.event.number }}' \ + | .github/recipes-checker-main/run diff-recipe-versions 'https://raw.githubusercontent.com/${{ github.repository }}/flex/pull-${{ github.event.number }}/index.json' \ > .github/diff-recipe-versions.md - @@ -250,7 +250,7 @@ jobs: cd v4 composer config extra.symfony.allow-contrib ${{ inputs.contrib && 'true' || 'false' }} composer config minimum-stability dev - export SYMFONY_ENDPOINT=https://api.github.com/repos/${{ github.repository }}/contents/index.json?ref=flex/pull-${{ github.event.number }} + export SYMFONY_ENDPOINT=https://raw.githubusercontent.com/${{ github.repository }}/flex/pull-${{ github.event.number }}/index.json composer require -W --ansi $PACKAGES EXIT_CODE=$? @@ -269,5 +269,5 @@ jobs: cd v5 composer config extra.symfony.allow-contrib ${{ inputs.contrib && 'true' || 'false' }} composer config minimum-stability dev - export SYMFONY_ENDPOINT=https://api.github.com/repos/${{ github.repository }}/contents/index.json?ref=flex/pull-${{ github.event.number }} + export SYMFONY_ENDPOINT=https://raw.githubusercontent.com/${{ github.repository }}/flex/pull-${{ github.event.number }}/index.json composer require -W --ansi $PACKAGES