forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use actions from
vscode-github-triage-actions
in all Python automat…
…ions (#21178)
- Loading branch information
Kartik Raj
authored
May 5, 2023
1 parent
678f70d
commit f0253e5
Showing
7 changed files
with
86 additions
and
166 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,29 +15,15 @@ jobs: | |
name: 'Check for changed files' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 'package-lock.json matches package.json' | ||
uses: brettcannon/[email protected] | ||
- name: Checkout Actions | ||
uses: actions/checkout@v3 | ||
with: | ||
prereq-pattern: 'package.json' | ||
file-pattern: 'package-lock.json' | ||
skip-label: 'skip package*.json' | ||
failure-message: '${prereq-pattern} was edited but ${file-pattern} was not (the ${skip-label} label can be used to pass this check)' | ||
repository: 'microsoft/vscode-github-triage-actions' | ||
ref: stable | ||
path: ./actions | ||
|
||
- name: 'package.json matches package-lock.json' | ||
uses: brettcannon/[email protected] | ||
with: | ||
prereq-pattern: 'package-lock.json' | ||
file-pattern: 'package.json' | ||
skip-label: 'skip package*.json' | ||
failure-message: '${prereq-pattern} was edited but ${file-pattern} was not (the ${skip-label} label can be used to pass this check)' | ||
- name: Install Actions | ||
run: npm install --production --prefix ./actions | ||
|
||
- name: 'Tests' | ||
uses: brettcannon/[email protected] | ||
with: | ||
prereq-pattern: src/**/*.ts | ||
file-pattern: | | ||
src/**/*.test.ts | ||
src/**/*.testvirtualenvs.ts | ||
.github/test_plan.md | ||
skip-label: 'skip tests' | ||
failure-message: 'TypeScript code was edited without also editing a ${file-pattern} file; see the Testing page in our wiki on testing guidelines (the ${skip-label} label can be used to pass this check)' | ||
- name: Check for changed files | ||
uses: ./actions/python-pr-file-check |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters