You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .dagger/README.md
+22-2Lines changed: 22 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -74,7 +74,27 @@ dagger call publish-image \
74
74
75
75
Automates the submission of Harbor CLI updates to the Windows Package Manager (WinGet) repository. This function uses `wingetcreate` to update the package manifest and automatically submit a pull request to `microsoft/winget-pkgs`.
76
76
77
-
Before running the command, export your GitHub Personal Access Token (with `public_repo` scope):
77
+
#### GitHub App Setup
78
+
79
+
For automated workflows, we use a GitHub App instead of Personal Access Tokens for better security and maintainability:
80
+
81
+
1.**Create a GitHub App** for your organization with permissions:
82
+
-`Contents: write`
83
+
-`Pull requests: write`
84
+
85
+
2.**Fork `microsoft/winget-pkgs`** to your organization
0 commit comments