Skip to content

Commit d2a1031

Browse files
committed
Port to Open-Athena/ec2-gha@v2
1 parent b492c47 commit d2a1031

2 files changed

Lines changed: 7 additions & 15 deletions

File tree

.github/workflows/test-gpu.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,17 @@ on:
99
workflow_dispatch:
1010

1111
permissions:
12-
id-token: write # This is required for interacting with AWS via OIDC
13-
contents: read # This is required for actions/checkout
12+
id-token: write # Required for interacting with AWS via OIDC
13+
contents: read # Required for actions/checkout (normally set by default, but must explicitly specify when defining a custom `permissions` block.
1414

1515
jobs:
1616
ec2:
17-
uses: Open-Athena/ec2/.github/workflows/runner.yml@main
18-
secrets: inherit
17+
uses: Open-Athena/ec2-gha/.github/workflows/runner.yml@v2
18+
secrets:
19+
GH_SA_TOKEN: ${{ secrets.GH_SA_TOKEN }}
1920
run-tests:
2021
needs: ec2
21-
runs-on: ${{ needs.ec2.outputs.instance }}
22+
runs-on: ${{ needs.ec2.outputs.id }}
2223
steps:
2324
- name: Check out code
2425
uses: actions/checkout@v2

.secrets.baseline

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -123,15 +123,6 @@
123123
}
124124
],
125125
"results": {
126-
".github/workflows/test-gpu.yml": [
127-
{
128-
"type": "Secret Keyword",
129-
"filename": ".github/workflows/test-gpu.yml",
130-
"hashed_secret": "3e26d6750975d678acb8fa35a0f69237881576b0",
131-
"is_verified": false,
132-
"line_number": 18
133-
}
134-
],
135126
"notebooks/Model_Analysis_Compare.py": [
136127
{
137128
"type": "Base64 High Entropy String",
@@ -142,5 +133,5 @@
142133
}
143134
]
144135
},
145-
"generated_at": "2025-07-18T04:33:42Z"
136+
"generated_at": "2025-08-08T20:05:06Z"
146137
}

0 commit comments

Comments
 (0)