aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFernando Fernández <ferferga@hotmail.com>2021-05-31 00:40:02 +0200
committerFernando Fernández <ferferga@hotmail.com>2021-05-31 00:40:02 +0200
commitd9bd162739ffd4110a27618939b2a89a9291ab96 (patch)
treeed4ca9f60335d0b4eee7b36eee4a857c73263569
parenta29ee991a4813357f19ce281c81a23de4b3f623d (diff)
Don't trigger workflows in unnecessary events and always use jellyfin-bot
-rw-r--r--.github/label-commenter-config.yml2
-rw-r--r--.github/workflows/check-backport.yml5
-rw-r--r--.github/workflows/label-commenter.yml2
-rw-r--r--.github/workflows/rebase.yml3
4 files changed, 10 insertions, 2 deletions
diff --git a/.github/label-commenter-config.yml b/.github/label-commenter-config.yml
index 78b75be43..0ff3a7f87 100644
--- a/.github/label-commenter-config.yml
+++ b/.github/label-commenter-config.yml
@@ -1,5 +1,5 @@
comment:
- header: Hello @{{ issue.user.login }}
+ header: Hello!
footer: "\
---\n\n
> This is an automated comment created by the [peaceiris/actions-label-commenter]. \
diff --git a/.github/workflows/check-backport.yml b/.github/workflows/check-backport.yml
index 4450bb001..9ec58a331 100644
--- a/.github/workflows/check-backport.yml
+++ b/.github/workflows/check-backport.yml
@@ -1,7 +1,10 @@
name: Stable Backport Check
on:
issue_comment:
- pull_request:
+ types:
+ - created
+ - edited
+ pull_request_target:
types:
- labeled
- synchronize
diff --git a/.github/workflows/label-commenter.yml b/.github/workflows/label-commenter.yml
index be9216cc1..1d4eaaecd 100644
--- a/.github/workflows/label-commenter.yml
+++ b/.github/workflows/label-commenter.yml
@@ -20,3 +20,5 @@ jobs:
- name: Label Commenter
uses: peaceiris/actions-label-commenter@v1
+ with:
+ github_token: ${{ secrets.JF_BOT_TOKEN }}
diff --git a/.github/workflows/rebase.yml b/.github/workflows/rebase.yml
index 3eec9fa03..8471f458e 100644
--- a/.github/workflows/rebase.yml
+++ b/.github/workflows/rebase.yml
@@ -1,6 +1,9 @@
name: Automatic Rebase
on:
issue_comment:
+ types:
+ - created
+ - edited
jobs:
rebase: