Skip to content

Remove rez.utils.py23 and cleanup more python 2.7 leftovers (#1678) #4

Remove rez.utils.py23 and cleanup more python 2.7 leftovers (#1678)

Remove rez.utils.py23 and cleanup more python 2.7 leftovers (#1678) #4

Workflow file for this run

name: copyright
on:
pull_request:
paths:
- 'src/**'
- '!**.md'
push:
paths:
- 'src/**'
- '!**.md'
workflow_dispatch:
jobs:
main:
name: Enforce copyright notices
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3
- name: Run copyright checker
run: |
bash ./src/build_utils/license/apply_copyright
if [[ "$(git status | grep modified)" != "" ]]; then
echo "Some sourcefiles are missing copyright notice!" 1>&2
echo "Run ./src/build_utils/license/apply_copyright to apply." 1>&2
exit 1
fi