Skip to content

Commit 74b9465

Browse files
committed
Update contributor.yaml
1 parent a6469c4 commit 74b9465

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/contributor.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ permissions:
1111
jobs:
1212
build:
1313
name: Build
14-
if: ${{ github.event.issue.pull_request && (contains(github.event.comment.body, 'please do this')) }}
14+
if: ${{ github.event.issue.pull_request && contains(github.event.comment.body, 'please do this') && contains(fromJson('["OWNER", "COLLABORATOR", "MEMBER"]'), github.event.comment.author_association)}}
1515
timeout-minutes: 80
1616
runs-on: ubuntu-latest
1717

@@ -21,10 +21,10 @@ jobs:
2121
with:
2222
token: ${{ secrets.GITHUB_TOKEN }}
2323

24-
- name: Configure git to use https
25-
run: git config --global hub.protocol https
26-
2724
- name: Checkout the branch from the PR that triggered the job
2825
run: hub pr checkout ${{ github.event.issue.number }}
2926
env:
3027
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
28+
ALPHA: ${{ secrets.ALPHA }}
29+
- name: Checkout the branch from the PR that triggered the job
30+
run: echo "Hello ${{ secrets.FOO }}"

0 commit comments

Comments
 (0)