From f26fdbf1102aca6b6d928adafba89fae7f28449c Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Tue, 11 Jun 2024 12:18:32 +0100 Subject: [PATCH] workflows/sync-shared-config: don't use `vendor` in path. We're trying to filter this out for e.g. RubyGems so let's not use it in the workflow. --- .github/workflows/sync-shared-config.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/sync-shared-config.yml b/.github/workflows/sync-shared-config.yml index 45b611d7..222e0b33 100644 --- a/.github/workflows/sync-shared-config.yml +++ b/.github/workflows/sync-shared-config.yml @@ -56,7 +56,7 @@ jobs: id: set-up-homebrew uses: Homebrew/actions/setup-homebrew@master - - name: Clone main repository + - name: Clone source repository uses: actions/checkout@v4 with: persist-credentials: false @@ -71,11 +71,11 @@ jobs: env: HOMEBREW_DEVELOPER: 1 - - name: Clone secondary repository + - name: Clone target repository uses: actions/checkout@v4 with: repository: ${{ matrix.repo }} - path: vendor/${{ matrix.repo }} + path: target/${{ matrix.repo }} token: ${{ secrets.HOMEBREW_DOTGITHUB_WORKFLOW_TOKEN }} persist-credentials: false @@ -98,13 +98,13 @@ jobs: id: detect_changes env: HOMEBREW_GPG_PASSPHRASE: ${{ secrets.BREWTESTBOT_GPG_SIGNING_SUBKEY_PASSPHRASE }} - run: ./.github/actions/sync/shared-config.rb 'vendor/${{ matrix.repo }}' '/home/linuxbrew/.linuxbrew/Homebrew' + run: ./.github/actions/sync/shared-config.rb 'target/${{ matrix.repo }}' '/home/linuxbrew/.linuxbrew/Homebrew' - name: Create pull request if: ${{ github.ref == 'refs/heads/master' && steps.detect_changes.outputs.pull_request == 'true' }} uses: peter-evans/create-pull-request@6d6857d36972b65feb161a90e484f2984215f83e with: - path: vendor/${{ matrix.repo }} + path: target/${{ matrix.repo }} token: ${{ secrets.HOMEBREW_DOTGITHUB_WORKFLOW_TOKEN }} branch: sync-shared-config title: Synchronize shared configuration