Skip to content

Commit 45ac207

Browse files
authored
Merge pull request #87 from lazy-actions/fix/ci
ci: Create pull request after transpile
2 parents 052dd14 + d2beb36 commit 45ac207

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

.github/workflows/build.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,13 @@ jobs:
2727
- name: Transpile
2828
run: yarn run build
2929

30-
- name: Push changes
30+
- name: Commit
3131
run: |
3232
git config user.name "${GITHUB_ACTOR}"
3333
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
3434
git add .
3535
git commit -m "build: Transpile" || echo "No changes to commit"
36-
git push origin HEAD
36+
37+
- uses: peter-evans/create-pull-request@v3
38+
with:
39+
title: 'Transpile'

.github/workflows/integration-test.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
name: Integration Test
22

33
on:
4-
workflow_run:
5-
workflows: ["Build"]
6-
types:
7-
- completed
4+
pull_request:
5+
paths:
6+
- "dist"
87

98
env:
109
IMAGE_NAME: knqyf263/vuln-image

0 commit comments

Comments
 (0)