Skip to content

Commit d59ff74

Browse files
committed
Remove quotes
In the case of a pull request made from a fork, secrets are not accessible, and this resolved to null. The codecov action seems to interpret null as no secret provided, while it interprets the empty string as an invalid token, making the whole tokenless upload invalid.
1 parent 36c5f05 commit d59ff74

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

workflow-templates/continuous-integration.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
with:
2828
php-versions: '["6.0", "6.1"]' # Use custom versions of PHP
2929
secrets:
30-
CODECOV_TOKEN: "${{ secrets.CODECOV_TOKEN }}"
30+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
3131

3232
phpunit-unstable-symfony:
3333
name: "PHPUnit with unstable Symfony"
@@ -39,4 +39,4 @@ jobs:
3939
# If the package requires some components but does not allow that version yet
4040
extra-requirements: "symfony/framework-bundle 47.1.x symfony/console 47.1.x"
4141
secrets:
42-
CODECOV_TOKEN: "${{ secrets.CODECOV_TOKEN }}"
42+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)