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