mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-06-03 10:46:19 +00:00
Fix label workflow actions
This commit is contained in:
@@ -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 }}
|
||||||
|
|||||||
Reference in New Issue
Block a user