blob: 479ab12c65673990378870b662b074e477e3673a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
name: Issue Automation Tests
on:
push:
branches: [master]
paths:
- ".github/ISSUE_TEMPLATE/bug_report.yml"
- ".github/ISSUE_TEMPLATE/feature_request.yml"
- ".github/workflows/issue_*.yml"
- ".github/workflows/similar_issues*.yml"
- "tools/ci/issue_*.py"
- "tools/ci/similar_issues.py"
- "tools/ci/test_issue_*.py"
- "tools/ci/test_similar_issues.py"
pull_request:
branches: [master]
paths:
- ".github/ISSUE_TEMPLATE/bug_report.yml"
- ".github/ISSUE_TEMPLATE/feature_request.yml"
- ".github/workflows/issue_*.yml"
- ".github/workflows/similar_issues*.yml"
- "tools/ci/issue_*.py"
- "tools/ci/similar_issues.py"
- "tools/ci/test_issue_*.py"
- "tools/ci/test_similar_issues.py"
concurrency:
group: issue-automation-tests-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-22.04
timeout-minutes: 5
steps:
- name: Checkout source
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
- name: Run issue automation tests
working-directory: tools/ci
run: >-
python3 -m unittest
test_issue_labeler.py
test_issue_claim.py
test_similar_issues.py
|