diff --git a/.github/workflows/prerequisites.yml b/.github/workflows/prerequisites.yml index 8048f16..a66d23f 100644 --- a/.github/workflows/prerequisites.yml +++ b/.github/workflows/prerequisites.yml @@ -41,7 +41,7 @@ jobs: - name: Checkout Repo uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 with: - persist-credentials: false + persist-credentials: false - id: esc-secrets name: Map environment to ESC outputs uses: ./.github/actions/esc-action @@ -96,7 +96,7 @@ jobs: EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64) { echo "SCHEMA_CHANGES<<$EOF"; - schema-tools compare -r github://api.github.com/kiterun -p incus -o "${{ inputs.default_branch }}" -n --local-path=provider/cmd/pulumi-resource-incus/schema.json; + schema-tools compare -r github://api.git.kalinow.ski/kiterun -p incus -o "${{ inputs.default_branch }}" -n --local-path=provider/cmd/pulumi-resource-incus/schema.json; echo "$EOF"; } >> "$GITHUB_ENV" - if: inputs.is_pr && inputs.is_automated == false && github.actor != 'dependabot[bot]' diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index fecd419..6b03a31 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -51,7 +51,7 @@ jobs: - name: Checkout Repo uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 with: - persist-credentials: false + persist-credentials: false - id: esc-secrets name: Map environment to ESC outputs uses: ./.github/actions/esc-action @@ -92,7 +92,7 @@ jobs: { echo 'summary<> "$GITHUB_OUTPUT" @@ -123,7 +123,7 @@ jobs: uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 with: # Persist credentials so we can push back to the repo - persist-credentials: true + persist-credentials: true - id: esc-secrets name: Map environment to ESC outputs uses: ./.github/actions/esc-action @@ -202,14 +202,14 @@ jobs: name: Clean up release labels # Only run for non-prerelease, if the publish_go_sdk job was successful or skipped if: inputs.isPrerelease == false - + needs: publish_sdk runs-on: ubuntu-latest steps: - name: Checkout Repo uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 with: - persist-credentials: false + persist-credentials: false - id: esc-secrets name: Map environment to ESC outputs uses: ./.github/actions/esc-action diff --git a/.golangci.yml b/.golangci.yml index 7f6d206..f55830d 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -33,5 +33,5 @@ linters-settings: - blank # Blank section: contains all blank imports. - default # Default section: contains all imports that could not be matched to another section type. - prefix(github.com/pulumi/) # Custom section: groups all imports with the github.com/pulumi/ prefix. - - prefix(github.com/kiterun/pulumi-incus) # Custom section: local imports + - prefix(git.kalinow.ski/kiterun/pulumi-incus) # Custom section: local imports custom-order: true diff --git a/provider/resources.go b/provider/resources.go index 2d0b1c9..4405667 100644 --- a/provider/resources.go +++ b/provider/resources.go @@ -177,7 +177,7 @@ func Provider() tfbridge.ProviderInfo { Golang: &tfbridge.GolangInfo{ // Set where the SDK is going to be published to. ImportBasePath: path.Join( - "git.kalinow.ski/nimbus/pulumi-incus/sdk/", + "git.kalinow.ski/kiterun/pulumi-incus/sdk/", tfbridge.GetModuleMajorVersion(version.Version), "go", mainPkg,