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