Remove : from workload identity SUBJECT when env prefix is empty #262
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | name: Getting Started | |
| on: | |
| push: | |
| paths: | |
| - "**.py" | |
| - "**.yml" | |
| - "**.yaml" | |
| workflow_dispatch: | |
| jobs: | |
| getting_started: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - env-prefix: PY310_LINUX | |
| os: ubuntu-latest | |
| python-version: "3.10" | |
| - env-prefix: PY313_LINUX | |
| os: ubuntu-latest | |
| python-version: "3.13" | |
| - env-prefix: PY313_WINDOWS | |
| os: windows-latest | |
| python-version: "3.13" | |
| runs-on: ${{ matrix.os }} | |
| timeout-minutes: 20 | |
| env: | |
| SNOWFLAKE_ACCOUNT: ${{ secrets.SNOWFLAKE_ACCOUNT }} | |
| SNOWFLAKE_USER: snowddl | |
| SNOWFLAKE_PRIVATE_KEY: ${{ secrets.SNOWFLAKE_PRIVATE_KEY }} | |
| SNOWFLAKE_ENV_PREFIX: ${{ matrix.env-prefix }} | |
| steps: | |
| - name: Enable longpaths | |
| run: git config --global core.longpaths true | |
| - name: Checkout repo | |
| uses: actions/checkout@v2 | |
| - name: Setup Python | |
| uses: actions/setup-python@v2 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install | |
| run: pip install -e . | |
| - name: "Cleanup" | |
| run: snowddl -c sample01_01 --apply-unsafe destroy | |
| - name: "Apply sample01_01, run 1" | |
| run: snowddl -c sample01_01 --apply-unsafe apply | |
| - name: "Apply sample01_01, run 2" | |
| run: snowddl -c sample01_01 --apply-unsafe apply | |
| - name: "Apply sample01_02, run 1" | |
| run: snowddl -c sample01_02 --apply-unsafe apply | |
| - name: "Apply sample01_02, run 2" | |
| run: snowddl -c sample01_02 --apply-unsafe apply | |
| - name: "Apply sample02_01" | |
| run: snowddl -c sample02_01 --apply-unsafe --apply-masking-policy --apply-row-access-policy apply | |
| - name: "Apply singledb" | |
| run: snowddl-singledb -c sample02_01 --config-db=TEST_DB --target-db=ANOTHER_DB --apply-unsafe --apply-masking-policy --apply-row-access-policy apply |