Skip to content

Commit

Permalink
Try traget pull_request instead of pull_request_target
Browse files Browse the repository at this point in the history
  • Loading branch information
Bouni committed Feb 5, 2024
1 parent 3d94a59 commit 01c7b78
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,15 @@ on: # yamllint disable-line rule:truthy
push:
branches:
- main
pull_request_target:
pull_request:
jobs:
pytest:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Print branch name
run: echo The current branch is ${GITHUB_REF##*/}
- name: Setup Python
uses: actions/setup-python@v4
with:
Expand Down

0 comments on commit 01c7b78

Please sign in to comment.