Skip to content

Commit 4f3c585

Browse files
committed
fix: Update Action
1 parent 70a84ac commit 4f3c585

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ branding:
99
inputs:
1010
token:
1111
description: GitHub Token
12-
default: ${{ secrets.GITHUB_TOKEN }}
12+
default: ${{ github.token }}
1313
extractors:
1414
description: GitHub Repository where the extractor(s) is located
1515
required: true

src/action.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ pub const AUTHORS: &str = env!("CARGO_PKG_AUTHORS");
3232
)]
3333
pub struct Action {
3434
/// GitHub Token
35-
#[input(description = "GitHub Token", default = "${{ secrets.GITHUB_TOKEN }}")]
35+
#[input(description = "GitHub Token", default = "${{ github.token }}")]
3636
token: String,
3737

3838
/// GitHub Repository where the extractor is located

0 commit comments

Comments
 (0)