Merge pull request #197 from actions/jcambass/2024-09-16/default-to-actions-token
Default to GITHUB_TOKEN
This commit is contained in:
@@ -15,5 +15,3 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
- name: Publish Immutable Action Version
|
||||
uses: ./
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
@@ -52,8 +52,6 @@ jobs:
|
||||
- name: Publish
|
||||
id: publish
|
||||
uses: actions/publish-immutable-action@0.0.1
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
```
|
||||
<!-- end usage -->
|
||||
|
||||
|
||||
@@ -9,6 +9,7 @@ branding:
|
||||
inputs:
|
||||
github-token:
|
||||
description: 'The GitHub actions token used to authenticate with GitHub APIs'
|
||||
default: ${{ github.token }}
|
||||
|
||||
outputs:
|
||||
package-manifest-sha:
|
||||
|
||||
Reference in New Issue
Block a user