From ca215c2792e0fa19f4f1841787d6789e251cbd4a Mon Sep 17 00:00:00 2001 From: Stefan Giehl Date: Mon, 5 Aug 2024 23:43:26 +0200 Subject: [PATCH] Use custom token when creating automated PRs (#22476) * Use custom token when creating submodules PR * Use custom token when creating composer update PR --- .github/workflows/composer-update.yml | 2 +- .github/workflows/submodules.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/composer-update.yml b/.github/workflows/composer-update.yml index 8bdcf308dc0..088cbd09756 100644 --- a/.github/workflows/composer-update.yml +++ b/.github/workflows/composer-update.yml @@ -84,7 +84,7 @@ jobs: message= curl \ --request POST \ - --header 'authorization: Bearer ${{ secrets.GITHUB_TOKEN }}' \ + --header 'authorization: Bearer ${{ secrets.CUSTOM_ACCESS_TOKEN }}' \ --header 'content-type: application/json' \ --data '{ "title":"[automatic composer updates]", diff --git a/.github/workflows/submodules.yml b/.github/workflows/submodules.yml index 9762bcbc665..287448021e9 100644 --- a/.github/workflows/submodules.yml +++ b/.github/workflows/submodules.yml @@ -91,7 +91,7 @@ jobs: run: | curl \ --request POST \ - --header 'authorization: Bearer ${{ secrets.GITHUB_TOKEN }}' \ + --header 'authorization: Bearer ${{ secrets.CUSTOM_ACCESS_TOKEN }}' \ --header 'content-type: application/json' \ --data '{ "title":"[automatic submodule updates]",