Merge pull request #2714 from Saibamen/auto_test_ignore_markdown

Do not run auto-test for markdown-only commits. Update versions
This commit is contained in:
Louis Lam 2023-02-03 17:41:17 +08:00 committed by GitHub
commit 121ab82cc3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 6 deletions

View File

@ -6,8 +6,12 @@ name: Auto Test
on: on:
push: push:
branches: [ master ] branches: [ master ]
paths-ignore:
- '*.md'
pull_request: pull_request:
branches: [ master ] branches: [ master ]
paths-ignore:
- '*.md'
jobs: jobs:
auto-test: auto-test:
@ -36,6 +40,7 @@ jobs:
env: env:
HEADLESS_TEST: 1 HEADLESS_TEST: 1
JUST_FOR_TEST: ${{ secrets.JUST_FOR_TEST }} JUST_FOR_TEST: ${{ secrets.JUST_FOR_TEST }}
check-linters: check-linters:
runs-on: ubuntu-latest runs-on: ubuntu-latest

View File

@ -1,4 +1,3 @@
name: Close Incorrect Issue name: Close Incorrect Issue
on: on:
@ -12,13 +11,13 @@ jobs:
strategy: strategy:
matrix: matrix:
os: [ubuntu-latest] os: [ubuntu-latest]
node-version: [16.x] node-version: [16]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }} - name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2 uses: actions/setup-node@v3
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
cache: 'npm' cache: 'npm'

View File

@ -9,7 +9,7 @@ jobs:
stale: stale:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/stale@v5 - uses: actions/stale@v7
with: with:
stale-issue-message: 'We are clearing up our old issues and your ticket has been open for 3 months with no activity. Remove stale label or comment or this will be closed in 2 days.' stale-issue-message: 'We are clearing up our old issues and your ticket has been open for 3 months with no activity. Remove stale label or comment or this will be closed in 2 days.'
close-issue-message: 'This issue was closed because it has been stalled for 2 days with no activity.' close-issue-message: 'This issue was closed because it has been stalled for 2 days with no activity.'