Fix label workflow actions

This commit is contained in:
Nicolas Gallagher
2023-01-27 10:21:31 -08:00
parent 5bb02faffc
commit 209d824790
+11 -5
View File
@@ -1,16 +1,22 @@
name: labels name: labels
# This workflow is triggered when a label is added to an issue.
on: on:
issues: issues:
types: labeled types: [labeled, unlabeled]
pull_request:
types: [labeled, unlabeled]
permissions:
contents: read
issues: write
pull-requests: write
jobs: jobs:
label-actions: label-actions:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: hramos/label-actions@v1 - uses: dessant/label-actions@v3
with: with:
configuration-path: .github/labels-config.yml config-path: .github/labels-config.yml
repo-token: ${{ secrets.GITHUB_TOKEN }} github-token: ${{ github.token }}