Skip to content

Commit e424744

Browse files
authored
Add pr permission to strands label remove, pass branch to strands-agent-runner (#221)
1 parent 9efd378 commit e424744

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/actions/strands-agent-runner/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ runs:
4545
- name: Checkout repository
4646
uses: actions/checkout@v5
4747
with:
48-
ref: ${{ inputs.branch }}
48+
ref: ${{ inputs.ref }}
4949

5050
- name: Setup Node.js
5151
uses: actions/setup-node@v6

.github/workflows/strands-command.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ jobs:
135135
aws_role_arn: ${{ secrets.AWS_ROLE_ARN }}
136136
sessions_bucket: ${{ secrets.TYPESCRIPT_SESSIONS_BUCKET }}
137137
write_permission: 'false'
138+
ref: ${{ needs.setup-and-process.outputs.branch }}
138139

139140
execute-write:
140141
needs: [setup-and-process, execute-readonly]
@@ -163,6 +164,7 @@ jobs:
163164
if: always()
164165
permissions:
165166
issues: write
167+
pull-requests: write
166168
runs-on: ubuntu-latest
167169
steps:
168170
- name: Remove strands-running label

0 commit comments

Comments
 (0)