File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ branding:
99inputs :
1010 token :
1111 description : GitHub Token
12+ default : ${{ secrets.GITHUB_TOKEN }}
1213 extractors :
1314 description : GitHub Repository where the extractor(s) is located
1415 required : true
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ pub const AUTHORS: &str = env!("CARGO_PKG_AUTHORS");
3232) ]
3333pub struct Action {
3434 /// GitHub Token
35- #[ input( description = "GitHub Token" ) ]
35+ #[ input( description = "GitHub Token" , default = "${{ secrets.GITHUB_TOKEN }}" ) ]
3636 token : String ,
3737
3838 /// GitHub Repository where the extractor is located
Original file line number Diff line number Diff line change @@ -56,8 +56,8 @@ async fn main() -> Result<()> {
5656 let extractor_path = PathBuf :: from ( "./extractors" ) ;
5757 if !extractor_path. exists ( ) {
5858 std:: fs:: create_dir ( & extractor_path)
59- . with_context ( || format ! ( "Failed to create directory {:?}" , extractor_path ) ) ?;
60- info ! ( "Created Extractor Directory :: {:?}" , extractor_path ) ;
59+ . with_context ( || format ! ( "Failed to create directory {extractor_path :?}" ) ) ?;
60+ info ! ( "Created Extractor Directory :: {extractor_path :?}" ) ;
6161 }
6262
6363 let mut extractors: Vec < ( CodeQLExtractor , RepositoryReference ) > = Vec :: new ( ) ;
You can’t perform that action at this time.
0 commit comments