webhook: sourcehut_builds: ask for access_token instead of authorization_header

This commit is contained in:
oliverpool 2024-04-08 17:51:39 +02:00
parent 3155e21cbb
commit 36f05e6f4e
6 changed files with 37 additions and 24 deletions

View file

@ -561,6 +561,7 @@ TeamName = Team name
AuthName = Authorization name
AdminEmail = Admin email
To = Branch name
AccessToken = Access token
NewBranchName = New branch name
CommitSummary = Commit summary
@ -2401,6 +2402,7 @@ settings.sourcehut_builds.manifest_path = Build manifest path
settings.sourcehut_builds.visibility = Job visibility
settings.sourcehut_builds.secrets = Secrets
settings.sourcehut_builds.secrets_helper = Give the job access to the build secrets (requires the SECRETS:RO grant)
settings.sourcehut_builds.access_token_helper = Access token that has JOBS:RW grant. Generate a <a target="_blank" rel="noopener noreferrer" href="%s">builds.sr.ht token</a> or a <a target="_blank" rel="noopener noreferrer" href="%s">builds.sr.ht token with secrets access</a> on meta.sr.ht.
settings.deploy_keys = Deploy keys
settings.add_deploy_key = Add deploy key
settings.deploy_key_desc = Deploy keys have read-only pull access to the repository.