@@ -18,10 +18,10 @@ permissions:
18
18
19
19
jobs :
20
20
evaluate :
21
- # if: |
22
- # contains('["OWNER", "CONTRIBUTOR", "COLLABORATOR", "MEMBER"]', github.event.comment.author_association) &&
23
- # github.event.issue.pull_request &&
24
- # github.event.comment.body == '/evaluate'
21
+ if : |
22
+ contains('["OWNER", "CONTRIBUTOR", "COLLABORATOR", "MEMBER"]', github.event.comment.author_association) &&
23
+ github.event.issue.pull_request &&
24
+ github.event.comment.body == '/evaluate'
25
25
runs-on : ubuntu-latest
26
26
env :
27
27
# azd required
@@ -116,23 +116,21 @@ jobs:
116
116
USE_MEDIA_DESCRIBER_AZURE_CU : ${{ vars.USE_MEDIA_DESCRIBER_AZURE_CU }}
117
117
steps :
118
118
119
- # - name: Comment on pull request
120
- # uses: actions/github-script@v7
121
- # with:
122
- # script: |
123
- # github.rest.issues.createComment({
124
- # issue_number: context.issue.number,
125
- # owner: context.repo.owner,
126
- # repo: context.repo.repo,
127
- # body: "Starting evaluation! Check the Actions tab for progress, or wait for a comment with the results."
128
- # })
129
-
130
- # - name: Checkout pull request
131
- # uses: actions/checkout@v4
132
- # with:
133
- # ref: refs/pull/${{ github.event.issue.number }}/head
134
-
135
- - uses : actions/checkout@v4
119
+ - name : Comment on pull request
120
+ uses : actions/github-script@v7
121
+ with :
122
+ script : |
123
+ github.rest.issues.createComment({
124
+ issue_number: context.issue.number,
125
+ owner: context.repo.owner,
126
+ repo: context.repo.repo,
127
+ body: "Starting evaluation! Check the Actions tab for progress, or wait for a comment with the results."
128
+ })
129
+
130
+ - name : Checkout pull request
131
+ uses : actions/checkout@v4
132
+ with :
133
+ ref : refs/pull/${{ github.event.issue.number }}/head
136
134
137
135
- name : Install uv
138
136
uses : astral-sh/setup-uv@v5
0 commit comments