Skip to content

Commit 7a8e100

Browse files
authored
feat: use GitHub app for auth
1 parent 7f9bc01 commit 7a8e100

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ jobs:
4343

4444
- name: OpenTofu Plan
4545
env:
46-
GITHUB_TOKEN: ${{ secrets.TF_GH_TOKEN }}
46+
GITHUB_APP_ID: ${{ secrets.TF_GH_APP }}
47+
GITHUB_APP_INSTALLATION_ID: ${{ secrets.TF_GH_APP_INSTALL }}
48+
GITHUB_APP_PEM_FILE: ${{ secrets.TF_GH_APP_PEM }}
4749
DNSIMPLE_ACCOUNT: ${{ secrets.TF_DNSIMPLE_ACCOUNT }}
4850
DNSIMPLE_TOKEN: ${{ secrets.TF_DNSIMPLE_TOKEN }}
4951
run: |

github/providers.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,5 @@ terraform {
1010
# Configure the GitHub Provider
1111
provider "github" {
1212
owner = "Homebrew"
13+
app_auth {}
1314
}

0 commit comments

Comments
 (0)