File tree Expand file tree Collapse file tree 2 files changed +15
-7
lines changed
Expand file tree Collapse file tree 2 files changed +15
-7
lines changed Original file line number Diff line number Diff line change 88 if : contains(github.event.pull_request.labels.*.name, 'pr-pull')
99 runs-on : ubuntu-24.04
1010 permissions :
11+ actions : read
12+ checks : read
1113 contents : write
12- packages : none
14+ issues : read
1315 pull-requests : write
1416 steps :
1517 - name : Set up Homebrew
1618 uses : Homebrew/actions/setup-homebrew@master
19+ with :
20+ token : ${{ github.token }}
1721
1822 - name : Set up git
19- uses : Homebrew/actions/git-user-config@master
23+ uses : Homebrew/actions/git-user-config@main
2024
2125 - name : Pull bottles
2226 env :
2327 HOMEBREW_GITHUB_API_TOKEN : ${{ github.token }}
24- HOMEBREW_GITHUB_PACKAGES_TOKEN : ${{ github.token }}
25- HOMEBREW_GITHUB_PACKAGES_USER : ${{ github.actor }}
2628 PULL_REQUEST : ${{ github.event.pull_request.number }}
2729 run : brew pr-pull --debug --tap="$GITHUB_REPOSITORY" "$PULL_REQUEST"
2830
2931 - name : Push commits
30- uses : Homebrew/actions/git-try-push@master
32+ uses : Homebrew/actions/git-try-push@main
3133 with :
32- token : ${{ github.token }}
3334 branch : master
3435
3536 - name : Delete branch
Original file line number Diff line number Diff line change @@ -10,12 +10,19 @@ jobs:
1010 matrix :
1111 os : [ubuntu-22.04, ubuntu-24.04, macos-14, macos-15]
1212 runs-on : ${{ matrix.os }}
13+ permissions :
14+ actions : read
15+ checks : read
16+ contents : read
17+ pull-requests : read
1318 env :
1419 HOMEBREW_GITHUB_API_TOKEN : ${{ secrets.HOMEBREW_API_TOKEN }}
1520 steps :
1621 - name : Set up Homebrew
1722 id : set-up-homebrew
18- uses : Homebrew/actions/setup-homebrew@master
23+ uses : Homebrew/actions/setup-homebrew@main
24+ with :
25+ token : ${{ github.token }}
1926
2027 - name : Cache Homebrew Bundler RubyGems
2128 id : cache
You can’t perform that action at this time.
0 commit comments