Skip to content
Discussion options

You must be logged in to vote

tldr;

Add this to the part of the CI that fails:

        env:
          KAGGLE_KEY: ${{ secrets.KAGGLE_KEY }}

details

To ensure that your GitHub Actions workflow can access the KAGGLE_KEY environment variable that you've stored in your repository secrets, you need to explicitly pass this secret to the workflow. Secrets are not passed to the runner environment by default for security reasons.

Here's how you can modify your ci.yml file to include the KAGGLE_KEY environment variable:

      - name: Pytest Validation
        uses: i2mint/isee/actions/pytest-validation@master
        with:
          root-dir: ${{ env.PROJECT_NAME }}
          paths-to-ignore: examples,scrap
        env:
      …

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@thorwhalen
Comment options

thorwhalen Dec 31, 2023
Maintainer Author

@thorwhalen
Comment options

thorwhalen Dec 31, 2023
Maintainer Author

@thorwhalen
Comment options

thorwhalen Dec 31, 2023
Maintainer Author

@valentin-feron
Comment options

@thorwhalen
Comment options

thorwhalen Jan 10, 2024
Maintainer Author

Answer selected by thorwhalen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants