From c84e7152f70334b5b260253fb9e658ee530491b2 Mon Sep 17 00:00:00 2001 From: Alex Zaytsev Date: Tue, 2 Jul 2024 18:58:55 +1000 Subject: [PATCH] Remove usage of NHIBERNATE_BOT_TOKEN --- .github/workflows/GenerateAsyncCode.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/GenerateAsyncCode.yml b/.github/workflows/GenerateAsyncCode.yml index 80a392b858c..38b0c0442de 100644 --- a/.github/workflows/GenerateAsyncCode.yml +++ b/.github/workflows/GenerateAsyncCode.yml @@ -5,7 +5,8 @@ on: paths: - '**.cs' -permissions: {} +permissions: + contents: write jobs: generate-async: @@ -16,7 +17,6 @@ jobs: with: ref: ${{ github.event.pull_request.head.ref }} repository: ${{ github.event.pull_request.head.repo.full_name }} - token: ${{ secrets.NHIBERNATE_BOT_TOKEN }} - name: Setup .NET uses: actions/setup-dotnet@v4