chore: add slash commands

Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
This commit is contained in:
Mark Sagi-Kazar
2025-10-08 03:06:30 +02:00
committed by Márk Sági-Kazár
parent 0525738e5e
commit 2da50fe98c
4 changed files with 40 additions and 0 deletions
@@ -0,0 +1,5 @@
permit(
principal in Role::"Collaborator",
action,
resource
);
+5
View File
@@ -0,0 +1,5 @@
permit(
principal in Role::"Triager",
action in [Action::"close", Action::"label", Action::"remove-label"],
resource is Issue
);
+12
View File
@@ -0,0 +1,12 @@
[
{
"uid": { "type": "User", "id": "1226384" },
"attrs": { "login": "sagikazarmark" },
"parents": [{ "type": "Role", "id": "Collaborator" }]
},
{
"uid": { "type": "User", "id": "805695" },
"attrs": { "login": "spacez320" },
"parents": [{ "type": "Role", "id": "Triager" }]
}
]
+18
View File
@@ -0,0 +1,18 @@
name: Octoslash
on: issue_comment
permissions:
issues: write
# pull-requests: write
jobs:
run:
name: Run
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Octoslash
uses: sagikazarmark/octoslash-action@v0