From b892b97708db69eb85e88f9ea4292bd83a1c1241 Mon Sep 17 00:00:00 2001 From: kylo252 <59826753+kylo252@users.noreply.github.com> Date: Sat, 2 Apr 2022 12:22:32 +0200 Subject: ci(test): add write-permission for prs (#2417) --- .github/workflows/format.yaml | 5 +++++ .github/workflows/install.yaml | 5 +++++ .github/workflows/lint.yaml | 5 +++++ .github/workflows/plugins.yml | 6 +++++- 4 files changed, 20 insertions(+), 1 deletion(-) (limited to '.github/workflows') 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: -- cgit v1.2.3