COMET InSAR Workshop 2024 #1270
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: Run test-this-pr action | |
on: | |
issue_comment: | |
types: [created] | |
jobs: | |
run-test-this-pr: | |
# Run this job in an env where the token with elevated permissions is stored | |
environment: test-this-pr-env | |
runs-on: ubuntu-latest | |
if: | | |
(github.event.issue.pull_request != null) && | |
contains(github.event.comment.body, '/test-this-pr') && | |
contains( | |
fromJSON('["OWNER", "COLLABORATOR", "MEMBER"]'), | |
github.event.comment.author_association | |
) | |
steps: | |
- uses: sgibson91/test-this-pr-action@main | |
with: | |
access_token: ${{ secrets.jupyterhub_bot_pat }} |