Primary taskbar on secondary monitor v1.0 #841
Workflow file for this run
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
name: PR mod validation | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
run: | |
runs-on: ubuntu-latest | |
name: Test changed files | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.x' | |
- name: Get changed files | |
id: changed-files | |
uses: tj-actions/changed-files@v44 | |
with: | |
json: true | |
# Per example from the readme: set to false because we are using an | |
# environment variable to store the output and avoid command | |
# injection. | |
escape_json: false | |
- name: Validate the changes | |
env: | |
PR_AUTHOR: ${{ github.event.pull_request.user.login }} | |
ADDED_FILES_COUNT: ${{ steps.changed-files.outputs.added_files_count }} | |
MODIFIED_FILES_COUNT: ${{ steps.changed-files.outputs.modified_files_count }} | |
ALL_CHANGED_AND_MODIFIED_FILES: ${{ steps.changed-files.outputs.all_changed_and_modified_files }} | |
ALL_CHANGED_AND_MODIFIED_FILES_COUNT: ${{ steps.changed-files.outputs.all_changed_and_modified_files_count }} | |
run: | | |
python .github/pr_validation.py |