mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-24 07:59:02 +00:00
43 lines
859 B
YAML
43 lines
859 B
YAML
|
---
|
||
|
name: "Metadata: Label issues and pull requests"
|
||
|
|
||
|
on:
|
||
|
issues:
|
||
|
types:
|
||
|
- opened
|
||
|
- edited
|
||
|
- closed
|
||
|
- reopened
|
||
|
pull_request:
|
||
|
types:
|
||
|
- opened
|
||
|
- edited
|
||
|
- closed
|
||
|
- reopened
|
||
|
- ready_for_review
|
||
|
- synchronize
|
||
|
|
||
|
permissions:
|
||
|
contents: read
|
||
|
issues: write
|
||
|
pull-requests: write
|
||
|
|
||
|
jobs:
|
||
|
label:
|
||
|
name: Label issues and pull requests
|
||
|
runs-on: ubuntu-20.04
|
||
|
steps:
|
||
|
- uses: getsentry/action-github-app-token@v1
|
||
|
id: get-app-token
|
||
|
with:
|
||
|
app_id: ${{ secrets.K8S_AT_HOME_APP_ID }}
|
||
|
private_key: ${{ secrets.K8S_AT_HOME_APP_PRIVATE_KEY }}
|
||
|
|
||
|
- uses: actions/checkout@v2
|
||
|
with:
|
||
|
token: ${{ steps.get-app-token.outputs.token }}
|
||
|
|
||
|
- uses: IvanFon/super-labeler-action@v1
|
||
|
with:
|
||
|
github-token: ${{ steps.get-app-token.outputs.token }}
|