From 5c2f7cd041c43befcf157aa0d8f34462380cdf8c Mon Sep 17 00:00:00 2001 From: pascalholthaus <94793111+pascalholthaus@users.noreply.github.com> Date: Fri, 6 Oct 2023 09:17:01 +0200 Subject: [PATCH] Remove: greenbonebot token from update-header.yml (#896) --- .github/workflows/update-header.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/update-header.yml b/.github/workflows/update-header.yml index 57afff03..04f08688 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: pontos tests target: main