From d4c25d406ba44e1dd7a5a778cf6461c5f6846bbb Mon Sep 17 00:00:00 2001 From: angusmcleod Date: Tue, 5 Oct 2021 14:33:27 +0800 Subject: [PATCH] DEV: add stable to github workflows --- .github/workflows/plugin-linting.yml | 1 + .github/workflows/plugin-tests.yml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.github/workflows/plugin-linting.yml b/.github/workflows/plugin-linting.yml index a79c5462..74920f4a 100644 --- a/.github/workflows/plugin-linting.yml +++ b/.github/workflows/plugin-linting.yml @@ -5,6 +5,7 @@ on: branches: - master - main + - stable pull_request: schedule: - cron: '0 0 * * *' diff --git a/.github/workflows/plugin-tests.yml b/.github/workflows/plugin-tests.yml index fcf1a1d0..855bdfec 100644 --- a/.github/workflows/plugin-tests.yml +++ b/.github/workflows/plugin-tests.yml @@ -3,6 +3,7 @@ name: Plugin Tests on: push: branches: + - stable - master - main pull_request: @@ -51,6 +52,7 @@ jobs: - uses: actions/checkout@v2 with: repository: discourse/discourse + ref: "${{ (github.base_ref || github.ref) }}" fetch-depth: 1 - name: Fetch Repo Name