Skip to content

Commit

Permalink
GSA#99 updated pull_request repo target
Browse files Browse the repository at this point in the history
  • Loading branch information
mvogelgesang committed Sep 30, 2021
1 parent 8a7176b commit c6ca19b
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/prettier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name:
# This action works with pull requests and pushes
on:
## this ensures the update runs against the fork branch
pull_request_target:
pull_request:
push:
branches:
- develop
Expand All @@ -14,10 +14,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
uses:
actions/checkout@v2
# Make sure the actual branch is checked out when running on pull requests
ref: ${{ github.head_ref }}
with:
ref: ${{github.event.pull_request.head.ref}}
repository: ${{github.event.pull_request.head.repo.full_name}}
- name: Prettify code
uses: creyD/[email protected]
with:
Expand Down

0 comments on commit c6ca19b

Please sign in to comment.