Skip to content

Commit c69f1c5

Browse files
committed
Allow auto proto convert workflow on forks
Signed-off-by: xil <fridalu66@gmail.com>
1 parent 6eceba3 commit c69f1c5

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/convert-proto.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ on:
1616
jobs:
1717
auto-proto-convert:
1818
runs-on: ubuntu-latest
19-
if: github.repository == 'opensearch-project/opensearch-protobufs'
2019
steps:
2120
- name: Checkout Repository
2221
uses: actions/checkout@v4
@@ -158,7 +157,7 @@ jobs:
158157
path: protos-schemas.diff
159158

160159
- name: Create Pull Request if changes exist
161-
if: github.event_name != 'pull_request' && steps.check_changes.outputs.changed == 'true' && github.repository == 'opensearch-project/opensearch-protobufs'
160+
if: github.event_name != 'pull_request' && steps.check_changes.outputs.changed == 'true'
162161
uses: peter-evans/create-pull-request@v7
163162
with:
164163
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)