summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorkylo252 <[email protected]>2022-04-02 12:22:32 +0200
committerGitHub <[email protected]>2022-04-02 12:22:32 +0200
commitb892b97708db69eb85e88f9ea4292bd83a1c1241 (patch)
treebb0d5376fa5b88f082fd8808d34def96abcd2a6e /.github
parent84e499aa38f661be5ea54a6bf7b0cbbf987ec9ff (diff)
ci(test): add write-permission for prs (#2417)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/format.yaml5
-rw-r--r--.github/workflows/install.yaml5
-rw-r--r--.github/workflows/lint.yaml5
-rw-r--r--.github/workflows/plugins.yml6
4 files changed, 20 insertions, 1 deletions
diff --git a/.github/workflows/format.yaml b/.github/workflows/format.yaml
index a7f7d9f8..b63b89d7 100644
--- a/.github/workflows/format.yaml
+++ b/.github/workflows/format.yaml
@@ -4,6 +4,11 @@ on:
pull_request:
branches:
- "rolling"
+ paths:
+ - 'lua/**'
+ - 'snapshots/**'
+ - 'tests/**'
+ - 'utils/**'
jobs:
stylua-check:
diff --git a/.github/workflows/install.yaml b/.github/workflows/install.yaml
index 4266896b..6e3685dd 100644
--- a/.github/workflows/install.yaml
+++ b/.github/workflows/install.yaml
@@ -5,6 +5,11 @@ on:
branches:
- "master"
- "rolling"
+ paths:
+ - 'lua/**'
+ - 'snapshots/**'
+ - 'tests/**'
+ - 'utils/**'
jobs:
unixish:
diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml
index 9746425d..c238a5d1 100644
--- a/.github/workflows/lint.yaml
+++ b/.github/workflows/lint.yaml
@@ -4,6 +4,11 @@ on:
pull_request:
branches:
- "rolling"
+ paths:
+ - 'lua/**'
+ - 'snapshots/**'
+ - 'tests/**'
+ - 'utils/**'
jobs:
lua-linter:
diff --git a/.github/workflows/plugins.yml b/.github/workflows/plugins.yml
index 56d2a9cc..8f29b0e9 100644
--- a/.github/workflows/plugins.yml
+++ b/.github/workflows/plugins.yml
@@ -13,13 +13,17 @@ on:
- warning
- debug
schedule:
- - cron: "30 18 * * 1,5"
+ # note: this will keep updating the existing branch
+ - cron: "*/15 10-14 * * 0,6"
+ - cron: "0 14 * * 1-5"
jobs:
plugins-version-bump:
runs-on: ubuntu-latest
+ continue-on-error: true
permissions:
contents: write
+ pull-requests: write
steps:
- uses: actions/checkout@v2
with: