Pull Request Reviewed #8555
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: "Pull Request Reviewed" | |
on: | |
pull_request_review: | |
types: [submitted] | |
permissions: | |
pull-requests: read | |
jobs: | |
add-or-remove-waiting-response: | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Set Artifacts for add-waiting-response" | |
if: github.event.review.state != 'approved' && github.actor != github.event.pull_request.user.login | |
shell: bash | |
run: | | |
mkdir -p wr_actions | |
echo ${{ github.owner }} > wr_actions/ghowner.txt | |
echo ${{ github.repository }} > wr_actions/ghrepo.txt | |
echo ${{ github.event.pull_request.number }} > wr_actions/prnumber.txt | |
echo "add-waiting-response" > wr_actions/action.txt | |
- name: "Set Artifacts for remove-waiting-response" | |
if: github.actor == github.event.pull_request.user.login | |
shell: bash | |
run: | | |
mkdir -p wr_actions | |
echo ${{ github.owner }} > wr_actions/ghowner.txt | |
echo ${{ github.repository }} > wr_actions/ghrepo.txt | |
echo ${{ github.event.pull_request.number }} > wr_actions/prnumber.txt | |
echo "remove-waiting-response" > wr_actions/action.txt | |
- uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1 | |
with: | |
name: artifact | |
path: wr_actions |