Skip to content

Commit 122bd2e

Browse files
authored
Merge pull request #89 from microsoft/automated-documentation-update-20238846048
Automated documentation update
2 parents 655b5fc + db55d18 commit 122bd2e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/artifacts-helper/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,12 @@ pip install <package_name> --index-url https://pkgs.dev.azure.com/<org_name>/_pa
7474
When the feed URL is an Azure Artifacts feed pip will use the keyring helper to provide the credentials needed
7575
to download the package.
7676

77+
## GitHub Actions / Codespaces Prebuild Support
78+
79+
**Version 3.0.1+**: The shim scripts now detect when running in a GitHub Actions environment (during Codespaces prebuild) by checking for the `ACTIONS_ID_TOKEN_REQUEST_URL` environment variable. When this variable is set, the shims bypass all Azure DevOps authentication setup and execute the real commands directly.
80+
81+
This ensures any custom scripting in place during Codespaces build process will work as expected. This feature can only be used at Codespaces runtime as it requires user interaction.
82+
7783
## Authentication Helper Wait Behavior
7884

7985
The shim scripts (e.g., `dotnet`, `npm`, `nuget`) now include a wait mechanism for the Azure DevOps authentication helper. When invoked, these scripts will:
@@ -127,6 +133,7 @@ if the `targetFiles` option is provided, so you may want to include them in the
127133
source /custom/path/to/auth-helper.sh
128134
```
129135

136+
130137
---
131138

132139
_Note: This file was auto-generated from the [devcontainer-feature.json](https://github.com/microsoft/codespace-features/blob/main/src/artifacts-helper/devcontainer-feature.json). Add additional notes to a `NOTES.md`._

0 commit comments

Comments
 (0)