Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automate Copyright Updates #936

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/deploy-qa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ on:
push:
branches: [ main ]

schedule:
# This cron expression schedules the job to run at 12:01 AM on January 1st
# which will keep the copyright notice up-to-date.
- cron: '1 0 1 1 *'

jobs:
deployment:

Expand Down
44 changes: 25 additions & 19 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,30 @@ import './App.css'
import MainRouter from './MainRouter'
import SimpleReactFooter from './components/simple-react-footer/SimpleReactFooter'

const App = () =>
<div className='App'>
<MainRouter />
<SimpleReactFooter
title='metriq'
description='Quantum computing benchmarks by community contributors'
copyright='2021-2024 Unitary Fund'
discord='unitary.fund'
github='unitaryfund'
twitch='unitaryfund'
twitter='unitaryfund'
youtube='UCDbDLAzGRTHnhkoMMOX7D1A'
linkedin='unitary-fund'
backgroundColor='#04165D'
fontColor='#FFFFFF'
iconColor='#FFFFFF'
copyrightColor='#FFFFFF'
/>
</div>
const App = () => {
const currentYear = new Date().getFullYear();
const copyrightYear = `2021-${currentYear} Unitary Fund`;

return (
<div className='App'>
<MainRouter/>
<SimpleReactFooter
title='metriq'
description='Quantum computing benchmarks by community contributors'
copyright={copyrightYear}
discord='unitary.fund'
github='unitaryfund'
twitch='unitaryfund'
twitter='unitaryfund'
youtube='UCDbDLAzGRTHnhkoMMOX7D1A'
linkedin='unitary-fund'
backgroundColor='#04165D'
fontColor='#FFFFFF'
iconColor='#FFFFFF'
copyrightColor='#FFFFFF'
/>
</div>
);
}

export default App