fix ACTIONS_ID_TOKEN_REQUEST_URL

This commit is contained in:
Finn 2024-09-12 16:24:45 -07:00
parent e4dfb8c1c7
commit 481229ce60

View file

@ -104,7 +104,7 @@ func DeleteVariable(ctx context.Context, id int64) error {
func GetVariablesOfRun(ctx context.Context, run *ActionRun) (map[string]string, error) {
variables := map[string]string{
"ACTIONS_ID_TOKEN_REQUEST_URL": setting.AppURL + "/api/actions_token?api-version=2.0",
"ACTIONS_ID_TOKEN_REQUEST_URL": setting.AppURL + "api/actions_idtoken?api-version=2.0",
}
if err := run.LoadRepo(ctx); err != nil {