Skip to content

Commit cfc178a

Browse files
committed
Add checkout + remove credential
1 parent eb92886 commit cfc178a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,18 @@ jobs:
1515
if: contains(github.event.pull_request.labels.*.name, 'pr-pull')
1616
runs-on: macos-latest
1717
steps:
18+
- name: Checkout
19+
uses: actions/checkout@v2
20+
with:
21+
token: "${{ secrets.OSX_CROSS_TESTS_HOMEBREW_GITHUB_API_TOKEN }}"
22+
1823
- name: Set up Homebrew
1924
uses: Homebrew/actions/setup-homebrew@master
2025

2126
- name: Set up git
2227
run: |
2328
git config --global user.name "osxCrossTestBot"
2429
git config --global user.email "osxCrossTestBot@leka.io"
25-
git config credential.helper '!f() { sleep 1; echo "username=osxCrossTestBot"; echo "password=${{ secrets.OSX_CROSS_TESTS_HOMEBREW_GITHUB_API_TOKEN }}"; }; f'
2630
2731
- name: Pull bottles
2832
run: brew pr-pull --debug --tap=$GITHUB_REPOSITORY $PULL_REQUEST

0 commit comments

Comments
 (0)