PR comment #21326
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: PR comment | |
on: issue_comment | |
jobs: | |
pr_commented: | |
name: PR comment workflow | |
if: | | |
github.event.issue.pull_request && | |
github.repository == 'adobe/react-spectrum' && | |
github.event.comment.author_association == 'MEMBER' && | |
contains(github.event.comment.body, 'GET_BUILD') | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@main | |
- name: Use Node 18 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18' | |
- name: install | |
run: yarn install | |
- name: Check write permissions of commentor | |
uses: ./.github/actions/permissions | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Create/update branch for fork PR | |
uses: ./.github/actions/branch | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |