Skip to content

Commit

Permalink
As per https://github.com/dessant/label-actions, label actions has be…
Browse files Browse the repository at this point in the history
…en rewritten. The GitHub app has been deprecated.

(cherry picked from commit b3c87e8)
  • Loading branch information
danielcweber committed Oct 12, 2021
1 parent f9fe306 commit 0c89a67
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 12 deletions.
20 changes: 8 additions & 12 deletions .github/label-actions.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
# Configuration for Label Actions - https://github.com/dessant/label-actions

issues:
actions:
# Actions taken when the `heated` label is added
"Repro repository missing":
# Post a comment
comment: >
"Hello @{issue-author},"
"Repro repository missing":
comment: >
Hello @{issue-author},
thanks for your interest in ExRam.Gremlinq. The issue was labelled "Repro repository missing" because although the issue template asks for either "a link to GitHub repository containing a minimal executable project structure that exposes the unexpected behaviour" or "a pull request to ExRam.Gremlinq that adds a failing unit test to the ExRam.Gremlinq tests asserting the expected behaviour", it seems you provided neither. Most problems already solve themselves when isolated and if they don't, you will have made it easier for the maintainer of this project to investigate a possible bug.
"thanks for your interest in ExRam.Gremlinq. The issue was labelled "Repro repository missing" because although the issue template asks for either "a link to GitHub repository containing a minimal executable project structure that exposes the unexpected behaviour" or "a pull request to ExRam.Gremlinq that adds a failing unit test to the ExRam.Gremlinq tests asserting the expected behaviour", it seems you provided neither. Most problems already solve themselves when isolated and if they don't, you will have made it easier for the maintainer of this project to investigate a possible bug.
"How would this look in raw Gremlin?":
comment: >
"Hello @{issue-author},"
"How would this look in raw Gremlin?":
comment: >
Hello @{issue-author},
"thanks for your interest in ExRam.Gremlinq. The issue was labelled "How would this look like in raw Gremlin?" because it seems you tried to formulate a query with ExRam.Gremlinq that fails either when constructing or executing the query. This might be a shortcoming or missing feature of ExRam.Gremlinq, however, in this case, it seems that there is not much that ExRam.Gremlinq could do since there is no valid Gremlin that it could construct that would achieve what you intended. In general, or when you feel that it should be possible, the question is: How would this look like in raw Gremlin? If you're new to Gremlin, check out the [Tinkerpop reference.](https://tinkerpop.apache.org/docs/current/reference/)"
thanks for your interest in ExRam.Gremlinq. The issue was labelled "How would this look like in raw Gremlin?" because it seems you tried to formulate a query with ExRam.Gremlinq that fails either when constructing or executing the query. This might be a shortcoming or missing feature of ExRam.Gremlinq, however, in this case, it seems that there is not much that ExRam.Gremlinq could do since there is no valid Gremlin that it could construct that would achieve what you intended. In general, or when you feel that it should be possible, the question is: How would this look like in raw Gremlin? If you're new to Gremlin, check out the [Tinkerpop reference.](https://tinkerpop.apache.org/docs/current/reference/)
19 changes: 19 additions & 0 deletions .github/workflows/label-actions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: 'Label Actions'

on:
issues:
types: [labeled]

permissions:
contents: read
issues: write
pull-requests: read
discussions: read

jobs:
action:
runs-on: ubuntu-latest
steps:
- uses: dessant/label-actions@v2
with:
github-token: ${{ github.token }}

0 comments on commit 0c89a67

Please sign in to comment.