From 391942adf2e06ca26704da6b6c11991c02fddfb0 Mon Sep 17 00:00:00 2001 From: Joel Ambass Date: Mon, 16 Sep 2024 15:16:26 +0200 Subject: [PATCH] Default to GITHUB_TOKEN --- .github/workflows/release.yml | 2 -- README.md | 2 -- action.yml | 1 + 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b156b3a..42412ee 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,5 +15,3 @@ jobs: uses: actions/checkout@v4 - name: Publish Immutable Action Version uses: ./ - with: - github-token: ${{ secrets.GITHUB_TOKEN }} diff --git a/README.md b/README.md index 22eba52..f724019 100644 --- a/README.md +++ b/README.md @@ -52,8 +52,6 @@ jobs: - name: Publish id: publish uses: actions/publish-immutable-action@0.0.1 - with: - github-token: ${{ secrets.GITHUB_TOKEN }} ``` diff --git a/action.yml b/action.yml index dc17c8f..1e42735 100644 --- a/action.yml +++ b/action.yml @@ -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: