Skip to content

Commit ad3e8c3

Browse files
wip
1 parent 3ea4e9c commit ad3e8c3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/optic_pr.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: optic
22
on:
33
pull_request:
4+
push:
45

56
jobs:
67
diff-all:
@@ -10,7 +11,7 @@ jobs:
1011
uses: actions/checkout@v3
1112

1213
- name: Install Optic
13-
run: npm install --location global @useoptic/[email protected]2
14+
run: npm install --location global @useoptic/[email protected]3
1415

1516
- name: Run Optic
16-
run: OPTIC_ENV=staging OPTIC_TOKEN="oidMDU4MmI1YzQtNTQwMS00YjIxLWI2Y2ItMDFmNGU0ODlkYWI3.ZBWfGe1k1noEvGGcKTtJG.-_KL_7gZsqLqfetE7iLm4" GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} optic run --base "gitbranch:$GITHUB_BASE_REF" --comment
17+
run: OPTIC_ENV=staging OPTIC_TOKEN="oidMDU4MmI1YzQtNTQwMS00YjIxLWI2Y2ItMDFmNGU0ODlkYWI3.ZBWfGe1k1noEvGGcKTtJG.-_KL_7gZsqLqfetE7iLm4" GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} optic run

0 commit comments

Comments
 (0)