diff --git a/.github/workflows/claude.yml b/.github/workflows/claude.yml index fe38a7a4876e..8f82ca61f4c9 100644 --- a/.github/workflows/claude.yml +++ b/.github/workflows/claude.yml @@ -1,3 +1,13 @@ +# FORK-ONLY TESTING TWEAK — NOT FOR UPSTREAM. +# On camsoper/pulumi.docs we swap ESC + PULUMI_BOT_TOKEN for the default +# GITHUB_TOKEN so @claude works without org-side ESC setup. Keeps all +# of @claude's capabilities (re-entrant reviews, Q&A, make-changes +# on PRs). The only difference: commits pushed via GITHUB_TOKEN do not +# trigger downstream workflows, which is fine for fork testing where +# nothing downstream is wired up. +# Upstream keeps the ESC + PULUMI_BOT_TOKEN design. Do not cherry-pick +# this commit to the PR branch. + name: Claude Code on: @@ -31,10 +41,6 @@ jobs: with: fetch-depth: 1 - - name: Fetch secrets from ESC - id: esc-secrets - uses: pulumi/esc-action@v1 - - name: Check repository write access id: check-access run: | @@ -144,8 +150,8 @@ jobs: uses: anthropics/claude-code-action@v1 with: anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} - # Use bot token so pushes trigger downstream workflows (e.g., social review) - github_token: ${{ steps.esc-secrets.outputs.PULUMI_BOT_TOKEN }} + # FORK-ONLY: default GITHUB_TOKEN instead of PULUMI_BOT_TOKEN via ESC. + github_token: ${{ secrets.GITHUB_TOKEN }} # This is an optional setting that allows Claude to read CI results on PRs additional_permissions: | @@ -189,10 +195,3 @@ jobs: -f body="$BODY" >/dev/null || true gh pr edit "$PR" --repo "$REPO" --remove-label review:claude-working || true -env: - ESC_ACTION_OIDC_AUTH: true - ESC_ACTION_OIDC_ORGANIZATION: pulumi - ESC_ACTION_OIDC_REQUESTED_TOKEN_TYPE: urn:pulumi:token-type:access_token:organization - ESC_ACTION_ENVIRONMENT: github-secrets/pulumi-docs - ESC_ACTION_EXPORT_ENVIRONMENT_VARIABLES: false - diff --git a/content/what-is/what-is-yaml.md b/content/what-is/what-is-yaml.md index cf46fdf22251..804de39a023a 100644 --- a/content/what-is/what-is-yaml.md +++ b/content/what-is/what-is-yaml.md @@ -35,7 +35,7 @@ YAML is a data serialization language most commonly used for configuration files Many of YAML's strongest features were inspired by other programming languages. Like Python, YAML uses whitespace indentation for defining the structure of your file. Strings, integers, floats, lists, and dictionaries are all natively supported, and it does also allow you to define custom data types. Dig far enough into the history of YAML, and you'll find pieces of the PERL, C, and HTML specs. -While YAML is frequently compared to JSON, it's important to note that the two are very closely related. YAML is actually a superset of JSON, and so it is capable of parsing JSON directly. +While YAML is frequently compared to JSON, the two are very closely related. YAML is actually a superset of JSON, and so it is capable of parsing JSON directly. The following is an example of YAML: