diff --git a/.github/workflows/update-header.yml b/.github/workflows/update-header.yml index c1d669d8..d7661e04 100644 --- a/.github/workflows/update-header.yml +++ b/.github/workflows/update-header.yml @@ -5,6 +5,9 @@ on: schedule: - cron: '0 0 1 1 *' # At 00:00 on day-of-month 1 in January. +permissions: + contents: write + jobs: update-header: name: Update headers @@ -13,8 +16,5 @@ jobs: - 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: ospd ospd_openvas tests target: main