Skip to content

Commit c1b8cd7

Browse files
committed
ci: twister_prep: do not double check for event
We already do the check for the job. Signed-off-by: Anas Nashif <[email protected]>
1 parent 5b51632 commit c1b8cd7

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

.github/workflows/twister-prep.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,22 +50,19 @@ jobs:
5050
echo "ZEPHYR_RUNNER_CLOUD_POD = ${ZEPHYR_RUNNER_CLOUD_POD}"
5151
5252
- name: Clone cached Zephyr repository
53-
if: github.event_name == 'pull_request_target'
5453
continue-on-error: true
5554
run: |
5655
git clone --shared /repo-cache/zephyrproject/zephyr .
5756
git remote set-url origin ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}
5857
5958
- name: Checkout
60-
if: github.event_name == 'pull_request_target'
6159
uses: actions/checkout@v4
6260
with:
6361
ref: ${{ github.event.pull_request.head.sha }}
6462
fetch-depth: 0
6563
persist-credentials: false
6664

6765
- name: Environment Setup
68-
if: github.event_name == 'pull_request_target'
6966
run: |
7067
git config --global user.email "[email protected]"
7168
git config --global user.name "Zephyr Bot"
@@ -82,7 +79,6 @@ jobs:
8279
echo "ZEPHYR_SDK_INSTALL_DIR=/opt/toolchains/zephyr-sdk-$( cat SDK_VERSION )" >> $GITHUB_ENV
8380
8481
- name: Generate Test Plan with Twister
85-
if: github.event_name == 'pull_request_target'
8682
id: test-plan
8783
run: |
8884
export ZEPHYR_BASE=${PWD}

0 commit comments

Comments
 (0)