Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

if an environment does not exist, the action fails #65

Open
bikotoru opened this issue Jan 6, 2022 · 1 comment
Open

if an environment does not exist, the action fails #65

bikotoru opened this issue Jan 6, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@bikotoru
Copy link

bikotoru commented Jan 6, 2022

If I try to get this action to run, and one of the repositories doesn't have the enviroments created, instead of creating the enviroments

image

@ignacio-valencia
Copy link

ignacio-valencia commented Jan 28, 2022

@bikotoru

utiliza la version 1.7.0

guiate por este archivo google/secrets-sync-action/action.yml

job-sync-dev:
   name: Syncing secrets
   runs-on: ubuntu-latest
   environment: env_dev
   steps:
     - uses: google/secrets-sync-action@v1.7.0
       with:
         dry_run: false
         secrets: |
           VAR_SECRET_THIS_REPO_RUN
           VAR2_SECRET_THIS_REPO_RUN
         repositories: |
           org/destination-repo
         environment: destination_env
         github_token: ${{ secrets.GITHUB_TOKEN }}
         repositories_list_regex: false
       env:
         VAR_SECRET_THIS_REPO_RUN: ${{secrets.VAR_SECRET_THIS_REPO_RUN}}
         VAR2_SECRET_THIS_REPO_RUN: ${{secrets.VAR2_SECRET_THIS_REPO_RUN}}

@jpoehnelt jpoehnelt added the bug Something isn't working label Jul 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants