diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index 0470a6644c1..62027044c63 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -70,7 +70,7 @@ jobs: run: | go run ./cmd/gen-docs --website --doc-path dist/manual tar -czvf dist/manual.tar.gz -C dist -- manual - - uses: actions/upload-artifact@v6 + - uses: actions/upload-artifact@v7 with: name: linux if-no-files-found: error @@ -150,7 +150,7 @@ jobs: run: | shopt -s failglob script/pkgmacos "$TAG_NAME" - - uses: actions/upload-artifact@v6 + - uses: actions/upload-artifact@v7 with: name: macos if-no-files-found: error @@ -263,7 +263,7 @@ jobs: Get-ChildItem -Path .\dist -Filter *.msi | ForEach-Object { .\script\sign.ps1 $_.FullName } - - uses: actions/upload-artifact@v6 + - uses: actions/upload-artifact@v7 with: name: windows if-no-files-found: error @@ -281,7 +281,7 @@ jobs: - name: Checkout cli/cli uses: actions/checkout@v6 - name: Merge built artifacts - uses: actions/download-artifact@v7 + uses: actions/download-artifact@v8 - name: Checkout documentation site uses: actions/checkout@v6 with: diff --git a/pkg/cmd/copilot/copilot.go b/pkg/cmd/copilot/copilot.go index 1195accc488..4ab840709f1 100644 --- a/pkg/cmd/copilot/copilot.go +++ b/pkg/cmd/copilot/copilot.go @@ -170,6 +170,7 @@ func runCopilot(opts *CopilotOptions) error { externalCmd.Stdin = opts.IO.In externalCmd.Stdout = opts.IO.Out externalCmd.Stderr = opts.IO.ErrOut + externalCmd.Env = append(os.Environ(), "COPILOT_GH=true") if err := externalCmd.Run(); err != nil { if exitErr, ok := err.(*exec.ExitError); ok {