Open bikotoru opened 2 years ago
@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}}
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