errose28 commented on code in PR #75:
URL: https://github.com/apache/ozone-site/pull/75#discussion_r1489927979
##########
.github/workflows/pull-request.yml:
##########
@@ -16,22 +16,31 @@
name: pull request
on:
- pull_request:
+ pull_request_target:
types:
- - reopened
- - opened
- - edited
- - synchronize
+ - reopened
+ - opened
+ - edited
+ - synchronize
+ - pull_request_target
jobs:
title:
runs-on: ubuntu-latest
steps:
- - name: Checkout project
- uses: actions/checkout@v4
- - name: Check pull request title
- env:
- TITLE: ${{ github.event.pull_request.title }}
- run:
- .github/scripts/pr_title_check.sh "${TITLE}"
-
+ - name: Checkout project
+ uses: actions/checkout@v4
+ - name: Check pull request title
+ env:
+ TITLE: ${{ github.event.pull_request.title }}
+ run:
+ .github/scripts/pr_title_check.sh "${TITLE}"
Review Comment:
Ah makes sense. Let's keep the scope of this workflow restricted since it
requires greater permissions. I'll close this as won't fix.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]