From 5406d907e0bf87dd1b4375f2ae2279dd775ed672 Mon Sep 17 00:00:00 2001 From: Daniel Cazzulino Date: Thu, 11 Aug 2022 13:46:19 -0300 Subject: [PATCH] Add fallback GITHUB_TOKEN to bot defaults Since this repo can seed personal repos without the GH_TOKEN, this would ensure that the defaulting will always work. --- .github/workflows/changelog.yml | 3 ++- .github/workflows/dotnet-file.yml | 1 + .github/workflows/includes.yml | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml index 78b208d..996f1a7 100644 --- a/.github/workflows/changelog.yml +++ b/.github/workflows/changelog.yml @@ -14,7 +14,8 @@ jobs: name: ${{ secrets.BOT_NAME }} email: ${{ secrets.BOT_EMAIL }} gh_token: ${{ secrets.GH_TOKEN }} - + github_token: ${{ secrets.GITHUB_TOKEN }} + - name: 🤘 checkout uses: actions/checkout@v2 with: diff --git a/.github/workflows/dotnet-file.yml b/.github/workflows/dotnet-file.yml index c8df6bd..eba32ff 100644 --- a/.github/workflows/dotnet-file.yml +++ b/.github/workflows/dotnet-file.yml @@ -20,6 +20,7 @@ jobs: name: ${{ secrets.BOT_NAME }} email: ${{ secrets.BOT_EMAIL }} gh_token: ${{ secrets.GH_TOKEN }} + github_token: ${{ secrets.GITHUB_TOKEN }} - name: 🤘 checkout uses: actions/checkout@v2 diff --git a/.github/workflows/includes.yml b/.github/workflows/includes.yml index c160de5..dcab8f7 100644 --- a/.github/workflows/includes.yml +++ b/.github/workflows/includes.yml @@ -17,6 +17,7 @@ jobs: name: ${{ secrets.BOT_NAME }} email: ${{ secrets.BOT_EMAIL }} gh_token: ${{ secrets.GH_TOKEN }} + github_token: ${{ secrets.GITHUB_TOKEN }} - name: 🤘 checkout uses: actions/checkout@v2