diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7620862b61254..07faaf29a36dd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -74,13 +74,13 @@ jobs: # Determine the repo and leave that unset to use the normal checkout behavior # of using the merge commit instead of HEAD case $GITHUB_REPOSITORY in - "apache/nuttx") + "$GITHUB_ACTOR/nuttx") # OS echo "Triggered by change in OS" APPS_REF=$REF_NAME ;; - "apache/nuttx-apps" ) + "$GITHUB_ACTOR/nuttx-apps" ) # APPS OS_REF=$REF_NAME echo "Triggered by change in APPS" @@ -98,7 +98,7 @@ jobs: - name: Checkout nuttx repo uses: actions/checkout@v6 with: - repository: apache/nuttx + repository: ${{ github.actor }}/nuttx ref: ${{ steps.gittargets.outputs.os_ref }} path: sources/nuttx fetch-depth: 1 @@ -108,7 +108,7 @@ jobs: - name: Checkout apps repo uses: actions/checkout@v6 with: - repository: apache/nuttx-apps + repository: ${{ github.actor }}/nuttx-apps ref: ${{ steps.gittargets.outputs.apps_ref }} path: sources/apps fetch-depth: 1