[go: nahoru, domu]

Skip to content

Commit

Permalink
Trusted Partner Workflow - Test with pull_request_target event
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 446311169
  • Loading branch information
tensorflower-gardener committed May 3, 2022
1 parent c783751 commit d112f5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/trusted-partners.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

name: assign-partner-tags
on:
pull_request:
pull_request_target:

# TODO: Test permissions issue. Remove after test and give targetted permission
permissions: write-all
Expand All @@ -38,7 +38,7 @@ jobs:
- name: Trusted-Partners-PR
uses: actions/github-script@v6
with:
github-token: ${{ secrets.TF_PR_TRUSTED_PARTNER }}
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const script = require('./.github/workflows/trusted_partners.js');
const username = context.payload.pull_request.user.login;
Expand Down

0 comments on commit d112f5b

Please sign in to comment.