Build job run against PR complains about secrets (OD-2165)
wojtek opened 1 year ago

I setup a build job to be run also against PRs. The same job works just fine when executed over master branch but if the execution is triggered by the PR it fails with an error:

No authorized job secret found (project: , job secret: repo.username)

where is actually the same project that runs the job normally.

It looks like the job was for some reason submitted in the source repository context?

  • Robin Shen commented 1 year ago

    If source branch of the pull request exists in a different repository, please configure the job secret authorization like below:

    on branch "**" or submitted by group "somegroup"
    

    Here somegroup is the group the user submitting the pull request belongs to

  • wojtek commented 1 year ago

    Hmm... didn't know that though this means that that group will be able to see the secret?

  • Robin Shen commented 1 year ago

    Yes that is true

  • Robin Shen changed state to 'Closed' 1 year ago
    Previous Value Current Value
    Open
    Closed
issue 1/1
Type
Question
Priority
Normal
Assignee
Labels
No labels
Issue Votes (0)
Watchers (2)
Reference
OD-2165
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover