Skip to content

Commit

Permalink
fix: Run actions in context of the base of the pull request (#156)
Browse files Browse the repository at this point in the history
* chore: Changed event trigger from pull_request to pull_request_target

* chore: Undo change

* chore: Changed event trigger from pull_request to pull_request_target
  • Loading branch information
phoenixpereira authored Jul 10, 2024
1 parent 138e62e commit a9b001f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci-dev-pr.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Development - Pull Request
on:
pull_request:
pull_request_target:
branches:
- '**'
- main

jobs:
lint-format:
Expand All @@ -17,6 +17,8 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}

- name: Build Docker container
env:
Expand Down

0 comments on commit a9b001f

Please sign in to comment.