Skip to content

Commit 3f263a2

Browse files
committed
add: workflow for automated license header update
1 parent 6a31f32 commit 3f263a2

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Update License Headers
2+
3+
on:
4+
workflow_dispatch:
5+
schedule:
6+
- cron: "0 1 * * 1" # At 01:00 on Mondays
7+
8+
jobs:
9+
update-header:
10+
name: Update headers
11+
runs-on: "ubuntu-latest"
12+
permissions:
13+
contents: write
14+
steps:
15+
- uses: actions/checkout@v4
16+
- name: Run update header
17+
uses: greenbone/actions/update-header@v3
18+
with:
19+
github-user: ${{ secrets.GREENBONE_BOT }}
20+
github-user-mail: ${{ secrets.GREENBONE_BOT_MAIL }}
21+
github-user-token: ${{ secrets.GREENBONE_BOT_TOKEN }}
22+
directories: auth client
23+
license-type: "AGPL-3.0-or-later"
24+
target: main

0 commit comments

Comments
 (0)