File tree Expand file tree Collapse file tree 4 files changed +25
-24
lines changed Expand file tree Collapse file tree 4 files changed +25
-24
lines changed Original file line number Diff line number Diff line change 2020 "version" : " 1.10.1"
2121 },
2222 "ghcr.io/prulloac/devcontainer-features/ollama:1" : {},
23- // az feature
23+ // az CLI is helpful for being able to login correctly with DefaultAzureCredential:
2424 "ghcr.io/devcontainers/features/azure-cli" : {}
2525 },
2626 // Configure tool-specific properties.
Original file line number Diff line number Diff line change 11name : App Tests
22
33on :
4- # push:
5- # branches: [ main ]
6- # paths-ignore:
7- # - "**.md"
8- # - ".azdo/**"
9- # - ".devcontainer/**"
10- # - ".github/**"
11- # pull_request:
12- # branches: [ main ]
13- # paths-ignore:
14- # - "**.md"
15- # - ".azdo/**"
16- # - ".devcontainer/**"
17- # - ".github/**"
4+ push :
5+ branches : [ main ]
6+ paths-ignore :
7+ - " **.md"
8+ - " .azdo/**"
9+ - " .devcontainer/**"
10+ - " .github/**"
11+ pull_request :
12+ branches : [ main ]
13+ paths-ignore :
14+ - " **.md"
15+ - " .azdo/**"
16+ - " .devcontainer/**"
17+ - " .github/**"
1818 workflow_dispatch :
1919
2020permissions :
Original file line number Diff line number Diff line change @@ -2,11 +2,9 @@ name: Deploy with azd
22
33on :
44 workflow_dispatch :
5- # TODO: change later
65 push :
76 branches : [ main ]
8- pull_request :
9- branches : [ main ]
7+
108# GitHub Actions workflow to deploy to Azure using azd
119# To configure required secrets for connecting to Azure, simply run `azd pipeline config`
1210
Original file line number Diff line number Diff line change @@ -2,20 +2,18 @@ name: Evaluate
22
33on :
44 workflow_dispatch :
5- # TODO: change later
6- push :
7- branches : [ main ]
8- pull_request :
9- branches : [ main ]
5+ issue_comment :
6+ types : [created]
107
118# Set up permissions for deploying with secretless Azure federated credentials
12- # https://learn.microsoft.com/en-us/ azure/developer/github/connect-from-azure?tabs=azure-portal%2Clinux#set-up-azure-login-with-openid-connect-authentication
9+ # https://learn.microsoft.com/azure/developer/github/connect-from-azure?tabs=azure-portal%2Clinux#set-up-azure-login-with-openid-connect-authentication
1310permissions :
1411 id-token : write
1512 contents : read
1613
1714jobs :
1815 evaluate :
16+ if : github.event_name == 'workflow_dispatch' || contains(github.event.comment.body, '#evaluate')
1917 runs-on : ubuntu-latest
2018 env :
2119 AZURE_CLIENT_ID : ${{ vars.AZURE_CLIENT_ID }}
2422 AZURE_CREDENTIALS : ${{ secrets.AZURE_CREDENTIALS }}
2523 AZURE_RESOURCE_GROUP : ${{ vars.AZURE_RESOURCE_GROUP }}
2624 steps :
25+ - name : Check for evaluate hash tag
26+ if : contains(github.event.comment.body, '#evaluate')
27+ run : |
28+ echo "Comment contains #evaluate hashtag"
29+
2730 - uses : actions/checkout@v4
2831 - name : Install PostgreSQL development libraries
2932 run : |
You can’t perform that action at this time.
0 commit comments