Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/agent-restricted.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ jobs:
echo "✅ User $ACTOR is authorized"

- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
persist-credentials: false

- name: Run Strands Agent
uses: ./.github/actions/strands-action
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ jobs:
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
fetch-depth: 0
persist-credentials: false

- name: Setup Node.js
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
Expand Down Expand Up @@ -117,6 +118,12 @@ jobs:
npx prettier --write schemas/
echo "✓ JSON schema regenerated and formatted"

- name: Configure push credentials
env:
GH_TOKEN: ${{ github.token }}
run: |
git config --global url."https://x-access-token:${GH_TOKEN}@github.com/".insteadOf "https://github.com/"

- name: Create release branch and PR
env:
NEW_VERSION: ${{ steps.bump.outputs.version }}
Expand Down Expand Up @@ -302,6 +309,7 @@ jobs:
with:
ref: main
fetch-depth: 0
persist-credentials: false

- name: Verify we have the merged code
run: |
Expand Down Expand Up @@ -370,6 +378,12 @@ jobs:
echo "No NPM_TOKEN needed - using GitHub OIDC"
npm publish --access public --provenance --tag latest

- name: Configure push credentials
env:
GH_TOKEN: ${{ github.token }}
run: |
git config --global url."https://x-access-token:${GH_TOKEN}@github.com/".insteadOf "https://github.com/"

- name: Create and push tag
env:
VERSION: ${{ steps.version.outputs.version }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/strands-command.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ jobs:
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
fetch-depth: 0
persist-credentials: false

- name: Add strands-running label
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
Expand Down
Loading