From c30b6df0a496e614637f9283d0c4a0478a7b0a78 Mon Sep 17 00:00:00 2001 From: Manuel Bustillo Date: Fri, 24 Jan 2025 09:02:46 +0100 Subject: [PATCH] Exclude db/schema.rb from copyright notice --- .gitea/workflows/tests.yml | 3 ++- db/schema.rb | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/tests.yml b/.gitea/workflows/tests.yml index c08f486..afee52c 100644 --- a/.gitea/workflows/tests.yml +++ b/.gitea/workflows/tests.yml @@ -55,7 +55,7 @@ jobs: run: | echo ${#ALL_CHANGED_FILES[@]} migrations changed: for file in ${ALL_CHANGED_FILES}; do - echo "$file was changed" + echo "$file" done bundle exec rake db:migrate:redo STEP=${#ALL_CHANGED_FILES[@]} @@ -95,6 +95,7 @@ jobs: CopyrightString: '# Copyright (C) 2024 Manuel Bustillo\n\n' FileType: '.rb' Path: 'app/, config/, db/, spec/' + IgnorePath: 'db/schema.rb' - uses: VinnyBabuManjaly/copyright-action@v1.0.0 with: CopyrightString: '<%# Copyright (C) 2024 Manuel Bustillo %>\n\n' diff --git a/db/schema.rb b/db/schema.rb index 9f2c050..10ab0cd 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -1,5 +1,3 @@ -# Copyright (C) 2024 Manuel Bustillo - # 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 # incrementally modify your database, and then regenerate this schema definition.