Skip to content

Commit

Permalink
Update contributor.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
aktech committed Nov 24, 2022
1 parent a6469c4 commit 038f465
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/contributor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ permissions:
jobs:
build:
name: Build
if: ${{ github.event.issue.pull_request && (contains(github.event.comment.body, 'please do this')) }}
if: ${{ github.event.issue.pull_request && contains(github.event.comment.body, 'please do this') && (github.event.comment.author_association == "MEMBER")}}
timeout-minutes: 80
runs-on: ubuntu-latest

Expand All @@ -28,3 +28,6 @@ jobs:
run: hub pr checkout ${{ github.event.issue.number }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ALPHA: ${{ secrets.ALPHA }}
- name: Checkout the branch from the PR that triggered the job
run: echo "Hello ${{ secrets.FOO }}"

0 comments on commit 038f465

Please sign in to comment.