From a0faebb37739c4da52a11399a13cf4bfb3dfad3d Mon Sep 17 00:00:00 2001 From: Achintha Isuru Date: Tue, 20 Aug 2024 15:28:55 +0530 Subject: [PATCH] build: update PR builder --- .github/workflows/pr-builder.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pr-builder.yml b/.github/workflows/pr-builder.yml index 19543e1..fc53196 100644 --- a/.github/workflows/pr-builder.yml +++ b/.github/workflows/pr-builder.yml @@ -54,17 +54,19 @@ jobs: token: ${{ env.GH_TOKEN }} - name: 🌴 Fetch PR branch + with: + token: ${{ env.GH_TOKEN }} run: | if [ ${{ github.event.pull_request.head.repo.fork }} == true ]; then git fetch origin pull/${{ github.event.pull_request.number }}/head:pr-${{ github.event.pull_request.number }} else git fetch origin ${{ github.head_ref }} fi - with: - token: ${{ env.GH_TOKEN }} - name: 🗃️ Get changed files id: changed-files + with: + token: ${{ env.GH_TOKEN }} run: | if [ ${{ github.event.pull_request.head.repo.fork }} == true ]; then echo "Comparing changes for PR from fork" @@ -75,8 +77,6 @@ jobs: fi echo "Changed files:" cat changed_files.txt - with: - token: ${{ env.GH_TOKEN }} - name: 🤖 Check for Android Changes id: check_android_changes