Skip to content

Commit

Permalink
Merge pull request #181 from greenbone/AT-1426-update-license-header-…
Browse files Browse the repository at this point in the history
…workflow

AT-1426 add workflow for automated license header update
  • Loading branch information
larox11 authored Aug 21, 2024
2 parents 6a31f32 + d7b1e3a commit 826e871
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/update-license-header.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Update License Headers

on:
workflow_dispatch:
schedule:
- cron: "0 1 * * 1" # At 01:00 on Mondays

jobs:
update-header:
name: Update headers
runs-on: "ubuntu-latest"
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Run update header
uses: greenbone/actions/update-header@v3
with:
github-user: ${{ secrets.GREENBONE_BOT }}
github-user-mail: ${{ secrets.GREENBONE_BOT_MAIL }}
github-user-token: ${{ secrets.GREENBONE_BOT_TOKEN }}
directories: auth client
license-type: "AGPL-3.0-or-later"
target: main

0 comments on commit 826e871

Please sign in to comment.