Exclude db/schema.rb from copyright notice
Some checks failed
Run unit tests / rubocop (pull_request) Successful in 33s
Run unit tests / check-licenses (pull_request) Successful in 34s
Run unit tests / copyright_notice (pull_request) Failing after 40s
Run unit tests / unit_tests (pull_request) Failing after 4m36s
Run unit tests / build-static-assets (pull_request) Has been skipped

This commit is contained in:
Manuel Bustillo 2025-01-24 09:02:46 +01:00
parent 494431eea6
commit c30b6df0a4
2 changed files with 2 additions and 3 deletions

View File

@ -55,7 +55,7 @@ jobs:
run: | run: |
echo ${#ALL_CHANGED_FILES[@]} migrations changed: echo ${#ALL_CHANGED_FILES[@]} migrations changed:
for file in ${ALL_CHANGED_FILES}; do for file in ${ALL_CHANGED_FILES}; do
echo "$file was changed" echo "$file"
done done
bundle exec rake db:migrate:redo STEP=${#ALL_CHANGED_FILES[@]} bundle exec rake db:migrate:redo STEP=${#ALL_CHANGED_FILES[@]}
@ -95,6 +95,7 @@ jobs:
CopyrightString: '# Copyright (C) 2024 Manuel Bustillo\n\n' CopyrightString: '# Copyright (C) 2024 Manuel Bustillo\n\n'
FileType: '.rb' FileType: '.rb'
Path: 'app/, config/, db/, spec/' Path: 'app/, config/, db/, spec/'
IgnorePath: 'db/schema.rb'
- uses: VinnyBabuManjaly/copyright-action@v1.0.0 - uses: VinnyBabuManjaly/copyright-action@v1.0.0
with: with:
CopyrightString: '<%# Copyright (C) 2024 Manuel Bustillo %>\n\n' CopyrightString: '<%# Copyright (C) 2024 Manuel Bustillo %>\n\n'

2
db/schema.rb generated
View File

@ -1,5 +1,3 @@
# Copyright (C) 2024 Manuel Bustillo
# This file is auto-generated from the current state of the database. Instead # This file is auto-generated from the current state of the database. Instead
# of editing this file, please use the migrations feature of Active Record to # of editing this file, please use the migrations feature of Active Record to
# incrementally modify your database, and then regenerate this schema definition. # incrementally modify your database, and then regenerate this schema definition.