Skip to content

Commit

Permalink
Merge pull request #43 from greg0ire/define-secrets
Browse files Browse the repository at this point in the history
Define secrets
  • Loading branch information
greg0ire authored May 3, 2024
2 parents 03e9941 + a7185c3 commit 5fd9247
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/continuous-integration-symfony-unstable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ on:
description: "Will be used with composer require --no-update"
required: false
type: "string"
secrets:
CODECOV_TOKEN:
required: true

env:
fail-fast: true
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ on:
default: "--prefer-dist"
required: false
type: "string"
secrets:
CODECOV_TOKEN:
required: true

env:
fail-fast: true
Expand Down
4 changes: 4 additions & 0 deletions workflow-templates/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ jobs:
uses: "doctrine/.github/.github/workflows/continuous-integration.yml@use_a_valid_ref_here"
with:
php-versions: '["6.0", "6.1"]' # Use custom versions of PHP
secrets:
CODECOV_TOKEN: "${{ secrets.CODECOV_TOKEN }}"

phpunit-unstable-symfony:
name: "PHPUnit with unstable Symfony"
Expand All @@ -36,3 +38,5 @@ jobs:

# If the package requires some components but does not allow that version yet
extra-requirements: "symfony/framework-bundle 47.1.x symfony/console 47.1.x"
secrets:
CODECOV_TOKEN: "${{ secrets.CODECOV_TOKEN }}"

0 comments on commit 5fd9247

Please sign in to comment.