Skip to content

Fix SyntaxWarning in rezconfig.py #948

Fix SyntaxWarning in rezconfig.py

Fix SyntaxWarning in rezconfig.py #948

Workflow file for this run

name: copyright
on:
pull_request:
paths:
- 'src/**'
- '!**.md'
push:
paths:
- 'src/**'
- '!**.md'
workflow_dispatch:
permissions:
contents: read
jobs:
main:
name: Enforce copyright notices
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Set up Python
uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # v5.1.1
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