Skip to content

Commit

Permalink
Merge pull request #127 from Homebrew/fix_vendor_usage
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMcQuaid committed Jun 11, 2024
2 parents 09924d6 + f26fdbf commit db15d1d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/sync-shared-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand All @@ -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
Expand Down

0 comments on commit db15d1d

Please sign in to comment.