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
| # Proof-of-concept: authenticate to the Anthropic API from GitHub Actions | |
| # via Workload Identity Federation (WIF) — no long-lived ANTHROPIC_API_KEY. | |
| # | |
| # Verified working end-to-end against the existing Anthropic API tier | |
| # (no Enterprise contract required). Full exchange in ~3 seconds. | |
| # | |
| # Audit event from a successful run shows outcome: success, with | |
| # user_agent: anthropic-python/0.104.1, subject: repo:OWNER/REPO: | |
| # ref:refs/heads/main, requested_service_account_id matching the | |
| # configured service account. |
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
| #!/bin/bash | |
| # set -x | |
| function schemaPost { | |
| # Use heredoc to strip out newlines, needed so that post is pure JSON | |
| cat <<EOF | |
| { | |
| "schemaType": "PROTOBUF", | |
| "schema": "${escapedSchema}" | |
| } |
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
| require 'spec_helper' | |
| # tested using jruby 1.7.6, activerecord 3.2.21, db2 10.5, and activerecord-jdbc-adapter (1.2.9 vs 1.3.13) | |
| # and rspec 2.13.0 | |
| describe "add_limit_offset!" do | |
| before do | |
| CreateTablesForAddLimitOffsetTestMigration.migrate :up | |
| end | |
| after do |