Skip to content

Commit bb2ecb5

Browse files
committed
merge: resolve conflicts with main
Accept main's workflow file changes — this PR only modifies Dockerfile-related source and tests.
2 parents e4cb8a1 + db25ce7 commit bb2ecb5

9 files changed

Lines changed: 331 additions & 245 deletions

.github/workflows/agent-restricted.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,6 @@ jobs:
6666
6767
- uses: actions/checkout@v6
6868

69-
- name: Generate GitHub App Token
70-
id: app-token
71-
uses: actions/create-github-app-token@v1
72-
with:
73-
app-id: ${{ vars.APP_ID }}
74-
private-key: ${{ secrets.APP_PRIVATE_KEY }}
75-
7669
- name: Run Strands Agent
7770
uses: ./.github/actions/strands-action
7871
with:
@@ -85,6 +78,6 @@ jobs:
8578
agent_runner: ${{ inputs.agent_runner }}
8679
aws_role_arn: ${{ secrets.AWS_ROLE_ARN }}
8780
aws_region: 'us-west-2'
88-
pat_token: ${{ steps.app-token.outputs.token }}
81+
pat_token: ${{ secrets.PAT_TOKEN }}
8982
env:
9083
STRANDS_TOOLS_DIRECTORY: 'true'

.github/workflows/ci-failure-issue.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,9 @@ jobs:
1919
permissions:
2020
issues: write
2121
steps:
22-
- name: Generate GitHub App Token
23-
id: app-token
24-
uses: actions/create-github-app-token@v1
25-
with:
26-
app-id: ${{ vars.APP_ID }}
27-
private-key: ${{ secrets.APP_PRIVATE_KEY }}
28-
2922
- uses: actions/github-script@v9
3023
with:
31-
github-token: ${{ steps.app-token.outputs.token }}
24+
github-token: ${{ secrets.AUTOMATION_ACCOUNT_PAT_TOKEN }}
3225
script: |
3326
try {
3427
const workflowName = context.payload.workflow_run.name;

.github/workflows/cleanup-pr-tarballs.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,10 @@ jobs:
1414
runs-on: ubuntu-latest
1515

1616
steps:
17-
- name: Generate GitHub App Token
18-
id: app-token
19-
uses: actions/create-github-app-token@v1
20-
with:
21-
app-id: ${{ vars.APP_ID }}
22-
private-key: ${{ secrets.APP_PRIVATE_KEY }}
2317
- uses: actions/checkout@v6
2418
- name: Delete PR tarball releases older than 7 days
2519
env:
26-
GH_TOKEN: ${{ steps.app-token.outputs.token }}
20+
GH_TOKEN: ${{ github.token }}
2721
run: |
2822
CUTOFF=$(date -u -d '7 days ago' +%Y-%m-%dT%H:%M:%SZ 2>/dev/null || date -u -v-7d +%Y-%m-%dT%H:%M:%SZ)
2923

.github/workflows/pr-tarball.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,16 +50,10 @@ jobs:
5050
run: |
5151
TARBALL_NAME=$(ls *.tgz | head -1 | xargs basename)
5252
echo "name=$TARBALL_NAME" >> $GITHUB_OUTPUT
53-
- name: Generate GitHub App Token
54-
id: app-token
55-
uses: actions/create-github-app-token@v1
56-
with:
57-
app-id: ${{ vars.APP_ID }}
58-
private-key: ${{ secrets.APP_PRIVATE_KEY }}
5953
- name: Create or update PR release
6054
id: release
6155
env:
62-
GH_TOKEN: ${{ steps.app-token.outputs.token }}
56+
GH_TOKEN: ${{ github.token }}
6357
PR_NUMBER: ${{ github.event.pull_request.number }}
6458
TARBALL_NAME: ${{ steps.tarball.outputs.name }}
6559
run: |

0 commit comments

Comments
 (0)