Skip to content

Commit 23606e8

Browse files
authored
Merge pull request #197 from actions/jcambass/2024-09-16/default-to-actions-token
Default to GITHUB_TOKEN
2 parents ff725e4 + 391942a commit 23606e8

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,3 @@ jobs:
1515
uses: actions/checkout@v4
1616
- name: Publish Immutable Action Version
1717
uses: ./
18-
with:
19-
github-token: ${{ secrets.GITHUB_TOKEN }}

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,6 @@ jobs:
5252
- name: Publish
5353
id: publish
5454
uses: actions/publish-immutable-action@0.0.1
55-
with:
56-
github-token: ${{ secrets.GITHUB_TOKEN }}
5755
```
5856
<!-- end usage -->
5957

action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ branding:
99
inputs:
1010
github-token:
1111
description: 'The GitHub actions token used to authenticate with GitHub APIs'
12+
default: ${{ github.token }}
1213

1314
outputs:
1415
package-manifest-sha:

0 commit comments

Comments
 (0)