Skip to content

Commit 170ce32

Browse files
authored
Replace use of GITHUB_TOKEN with GH_PERSONAL_ACCESS_TOKEN for NSHipster/update-homebrew-formula-action (swiftlang#208)
1 parent 44cce4e commit 170ce32

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
tap: SwiftDocOrg/homebrew-formulae
1717
formula: Formula/swift-doc.rb
1818
env:
19-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
19+
GH_PERSONAL_ACCESS_TOKEN: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
2020

2121
bottle_macos_catalina:
2222
name: Build and distribute Homebrew bottle for macOS Catalina
@@ -47,7 +47,7 @@ jobs:
4747
Add bottle for swift-doc ${{ github.event.release.tag_name }}
4848
on macOS 10.15 (Catalina)
4949
env:
50-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
50+
GH_PERSONAL_ACCESS_TOKEN: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
5151

5252
bottle_macos_big_sur:
5353
name: Build and distribute Homebrew bottle for macOS Big Sur
@@ -78,7 +78,7 @@ jobs:
7878
Add bottle for swift-doc ${{ github.event.release.tag_name }}
7979
on macOS 11.0 (Big Sur)
8080
env:
81-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
81+
GH_PERSONAL_ACCESS_TOKEN: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
8282

8383
docker:
8484
name: Build and push Docker container

0 commit comments

Comments
 (0)