1 parent a70034f commit 2b243b7Copy full SHA for 2b243b7
1 file changed
.github/workflows/convert-proto.yml
@@ -30,7 +30,8 @@ jobs:
30
runs-on: ubuntu-latest
31
permissions:
32
actions: read
33
- contents: read
+ contents: write
34
+ pull-requests: write
35
steps:
36
- name: Checkout Repository
37
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
@@ -188,7 +189,7 @@ jobs:
188
189
path: protos-schemas.diff
190
191
- name: Create Pull Request if changes exist
- if: github.event_name != 'pull_request' && steps.check_changes.outputs.changed == 'true' && github.repository == 'opensearch-project/opensearch-protobufs'
192
+ if: github.event_name != 'pull_request' && steps.check_changes.outputs.changed == 'true'
193
uses: peter-evans/create-pull-request@22a9089034f40e5a961c8808d113e2c98fb63676 # v7
194
with:
195
token: ${{ secrets.GITHUB_TOKEN }}
0 commit comments