Skip to content
This repository has been archived by the owner on Sep 11, 2023. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
peaceiris authored Sep 11, 2023
1 parent 6d950b7 commit 866c929
Showing 1 changed file with 2 additions and 28 deletions.
30 changes: 2 additions & 28 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,3 @@
# GitHub App Token Action
The official action is available now.

A fork of [tibdex/github-app-token](https://github.com/tibdex/github-app-token).

# Example Workflow

```yaml
name: "Pull Request Labeler"

on:
pull_request_target:

jobs:
triage:
runs-on: ubuntu-22.04
timeout-minutes: 1
permissions: {}
steps:
- uses: peaceiris/actions-github-app-token@v1
id: app
with:
app_id: ${{ secrets.GH_APP_ID }}
private_key: ${{ secrets.GH_APP_PRIVATE_KEY }}

# https://github.com/actions/labeler
- uses: actions/labeler@v4
with:
repo-token: "${{ steps.app.outputs.token }}"
```
[actions/create-github-app-token: GitHub Action for creating a GitHub App Installation Access Token](https://github.com/actions/create-github-app-token)

0 comments on commit 866c929

Please sign in to comment.