Skip to content

Commit

Permalink
use new label-action scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
ferdicus committed Oct 15, 2021
1 parent 39b03e0 commit 2f05835
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 14 deletions.
24 changes: 10 additions & 14 deletions .github/label-actions.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
# Configuration for Label Actions - https://github.com/dessant/label-actions

issues:
actions:
# our issue template is not respected - required fields are missing
"Needs: Issue Template":
comment: >
:wave: @{issue-author}, please respect our issue template<br>required fields are missing.
# Close the issue
close: true
"question":
comment: >
:thinking: @{issue-author}, this is rather a question than an issue<br>please use our [discussions](https://github.com/react-native-mapbox-gl/maps/discussions) or [gitter](https://gitter.im/react-native-mapbox-gl/Lobby) or stackoverflow for this.
# Close the issue
close: true
"Needs: Issue Template":
comment: >
:wave: @{issue-author}, please respect our issue template<br>required fields are missing.
# Close the issue
close: true
"question":
comment: >
:thinking: @{issue-author}, this is rather a question than an issue<br>please use our [discussions](https://github.com/react-native-mapbox-gl/maps/discussions) or [gitter](https://gitter.im/react-native-mapbox-gl/Lobby) or stackoverflow for this.
# Close the issue
close: true
17 changes: 17 additions & 0 deletions .github/workflows/label-actions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Configuration for Label Actions - https://github.com/dessant/label-actions

name: "Label Actions"

on:
issues:
types: labeled

permissions:
contents: read
issues: write

jobs:
action:
runs-on: ubuntu-latest
steps:
- uses: dessant/label-actions@v2

0 comments on commit 2f05835

Please sign in to comment.