Skip to content

Commit b384fb9

Browse files
authored
Merge pull request #1401 from wpeverest/add-copilot-review-trigger
Add @tg-autopilot review comment trigger for Copilot review
2 parents c532e6a + 27bac3b commit b384fb9

2 files changed

Lines changed: 39 additions & 0 deletions

File tree

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# TEMPLATE -- copy into a consuming repo as
2+
# .github/workflows/copilot-review-on-comment.yml
3+
name: Copilot review on comment
4+
5+
on:
6+
issue_comment:
7+
types: [created]
8+
9+
jobs:
10+
review:
11+
uses: wpeverest/.github/.github/workflows/copilot-review-on-comment.yml@master
12+
secrets: inherit

.github/workflows/pr-build-zip.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Build Testable ZIP
2+
3+
on:
4+
pull_request:
5+
types: [opened, synchronize, reopened, ready_for_review]
6+
branches: [develop]
7+
workflow_dispatch:
8+
9+
jobs:
10+
zip:
11+
uses: wpeverest/.github/.github/workflows/pr-build-zip.yml@master
12+
with:
13+
node-version: '20.x'
14+
php-version: '7.4'
15+
package-manager: pnpm
16+
# `pnpm exec grunt` needs grunt already in node_modules/.bin, so the
17+
# default `pnpm install` step must run first (left un-overridden).
18+
# grunt release:dev then does its OWN composer install (--no-dev) and a
19+
# second pnpm install internally (see Gruntfile.js) -- so we skip this
20+
# workflow's separate composer step to avoid doing it twice.
21+
composer-install: false
22+
build-command: pnpm exec grunt release:dev
23+
zip-glob: 'release/*.zip'
24+
artifacts-bucket: themegrill-pr-artifacts
25+
public-base-url: https://themegrill-pr-artifacts.s3.amazonaws.com
26+
s3-region: us-east-1
27+
secrets: inherit

0 commit comments

Comments
 (0)