From 3e6c00dc0778daddbabfe5b21c7acf7a9837cf5b Mon Sep 17 00:00:00 2001 From: Alex Zaytsev Date: Mon, 8 Jul 2024 10:05:28 +1000 Subject: [PATCH] Remove usage of NHIBERNATE_BOT_TOKEN NHIBERNATE_BOT_TOKEN was a stop-gap solution when the GITHUB_TOKEN permissions were not configurable --- .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 6fe2918a..c705a569 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@v3