Skip to content

Commit

Permalink
fix: fix copyright bot
Browse files Browse the repository at this point in the history
  • Loading branch information
hanxiao committed Apr 24, 2020
1 parent d2d857e commit 7c10cf6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,17 @@ jobs:
- uses: actions/checkout@v2
with:
token: ${{ secrets.JINA_DEV_BOT }}
- run: |
git fetch --prune --unshallow
git config --local user.email "dev-bot@jina.ai"
git config --local user.name "Jina Dev Bot"
- uses: VinnyBabuManjaly/copyright-action@v1.0.0
with:
CopyrightString: '__copyright__ = "Copyright (c) 2020 Jina AI Limited. All rights reserved."\n__license__ = "Apache-2.0"\n\n'
FileType: '.py'
Path: 'jina/'
- run: |
git config --local user.email "dev-bot@jina.ai"
git config --local user.name "Jina Dev Bot"
git fetch --prune --unshallow
git add -u
git commit -m "chore: update copyright header"
git status
Expand Down

0 comments on commit 7c10cf6

Please sign in to comment.