From 49aeea83f6494443f9a2aeb67a2eacb22892c14c Mon Sep 17 00:00:00 2001 From: Gregor Martynus <39992+gr2m@users.noreply.github.com> Date: Mon, 21 Aug 2023 11:30:55 -0700 Subject: [PATCH] docs(README): update repository name, remove section for feature that is not yet implemented --- README.md | 24 +++--------------------- 1 file changed, 3 insertions(+), 21 deletions(-) diff --git a/README.md b/README.md index d5d7fc8..40f57b9 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# `gr2m/github-app-token-action` +# `actions/github-app-token` > GitHub Action for creating a GitHub App Installation Access Token @@ -19,7 +19,7 @@ jobs: hello-world: runs-on: ubuntu-latest steps: - - uses: gr2m/github-app-token-action@v1 + - uses: actions/github-app-token@v1 id: app-token with: app_id: ${{ vars.APP_ID }} @@ -31,24 +31,6 @@ jobs: body: "Hello, World!" ``` -### Limit the app's permissions and access to repositories - -```yaml -on: [issues] - -jobs: - with-scoped-token: - runs-on: ubuntu-latest - steps: - - uses: gr2m/github-app-token-action@v1 - id: app-token - with: - # required - app_id: ${{ vars.APP_ID }} - private_key: ${{ secrets.PRIVATE_KEY }} - # do something with the token -``` - ### Use app token with `actions/checkout` ```yaml @@ -58,7 +40,7 @@ jobs: auto-format: runs-on: ubuntu-latest steps: - - uses: gr2m/github-app-token-action@v1 + - uses: actions/github-app-token@v1 id: app-token with: # required