Skip to content

Commit d6fc958

Browse files
authored
Merge pull request #529 from njhale/fix/smoke-gh-pat
fix: auto run smoke tests for members
2 parents 8a283fd + ef449d2 commit d6fc958

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/smoke.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
AUTHOR="${{ github.event.pull_request.user.login }}"
3838
3939
# Check for org membership
40-
MEMBERSHIP_RESPONSE_CODE=$(curl -s -o /dev/null -w "%{http_code}" -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
40+
MEMBERSHIP_RESPONSE_CODE=$(curl -s -o /dev/null -w "%{http_code}" -H "Authorization: token ${{ secrets.SMOKE_GH_TOKEN }}" \
4141
"https://api.github.com/orgs/$ORG/members/$AUTHOR")
4242
4343
if [ "$MEMBERSHIP_RESPONSE_CODE" -eq 204 ]; then
@@ -59,7 +59,7 @@ jobs:
5959
6060
echo "run_smoke_tests=false" >> $GITHUB_OUTPUT
6161
62-
smoke-gpt-4o-2024-05-13:
62+
gpt-4o-2024-05-13:
6363
needs: check-label
6464
if: ${{ needs.check-label.outputs.run_smoke_tests == 'true' }}
6565
runs-on: ubuntu-22.04
@@ -88,7 +88,7 @@ jobs:
8888
export PATH="$(pwd)/bin:${PATH}"
8989
make smoke
9090
91-
smoke-gpt-4-turbo-2024-04-09:
91+
gpt-4-turbo-2024-04-09:
9292
needs: check-label
9393
if: ${{ needs.check-label.outputs.run_smoke_tests == 'true' }}
9494
runs-on: ubuntu-22.04
@@ -117,7 +117,7 @@ jobs:
117117
export PATH="$(pwd)/bin:${PATH}"
118118
make smoke
119119
120-
smoke-claude-3-opus-20240229:
120+
claude-3-opus-20240229:
121121
needs: check-label
122122
if: ${{ needs.check-label.outputs.run_smoke_tests == 'true' }}
123123
runs-on: ubuntu-22.04
@@ -147,7 +147,7 @@ jobs:
147147
export PATH="$(pwd)/bin:${PATH}"
148148
make smoke
149149
150-
smoke-mistral-large-2402:
150+
mistral-large-2402:
151151
needs: check-label
152152
if: ${{ needs.check-label.outputs.run_smoke_tests == 'true' }}
153153
runs-on: ubuntu-22.04

0 commit comments

Comments
 (0)