Skip to content

Commit fa48707

Browse files
Restore the pull request trigger event (#50)
* Restore the pull request trigger event Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> * bump version number Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> --------- Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>
1 parent b50a1ac commit fa48707

File tree

3 files changed

+4
-10
lines changed

3 files changed

+4
-10
lines changed

.github/workflows/build-test.yml

+1-7
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ on:
55
push:
66
branches:
77
- 'main'
8-
pull_request_target:
9-
types: [opened, synchronize, reopened]
8+
pull_request:
109

1110
jobs:
1211
build-test:
@@ -19,11 +18,6 @@ jobs:
1918
if: github.repository == 'opensearch-project/automation-app'
2019
steps:
2120
- uses: actions/checkout@v4
22-
if: github.event_name == 'push'
23-
- uses: actions/checkout@v4
24-
if: github.event_name == 'pull_request' || github.event_name == 'pull_request_target'
25-
with:
26-
ref: ${{ github.event.pull_request.head.sha }}
2721
- name: Set up node-${{ matrix.node-version }}
2822
uses: actions/setup-node@v4
2923
with:

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "opensearch-automation-app",
3-
"version": "0.3.0",
3+
"version": "0.3.1",
44
"description": "An Automation App that handles all your GitHub Repository Activities",
55
"author": "Peter Zhu",
66
"homepage": "https://github.com/opensearch-project/automation-app",

0 commit comments

Comments
 (0)