send action name for run service (#3520)

* send action

* format

* comment

* Delete .github/workflows/lint.yml
This commit is contained in:
Yashwanth Anantharaju
2024-10-21 11:00:59 -04:00
committed by GitHub
parent 59ec9b4139
commit 3d34a3c6d6
3 changed files with 7 additions and 25 deletions

View File

@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Threading.Tasks;
@@ -16,9 +16,14 @@ namespace GitHub.Actions.RunService.WebApi
[DataMember(Name = "number", EmitDefaultValue = false)]
public int? Number { get; set; }
// Example: "Run actions/checkout@v3"
[DataMember(Name = "name", EmitDefaultValue = false)]
public string Name { get; set; }
// Example: "actions/checkout"
[DataMember(Name = "action_name", EmitDefaultValue = false)]
public string ActionName { get; set; }
[DataMember(Name = "ref", EmitDefaultValue = false)]
public string Ref { get; set; }