diff --git a/.github/tokens-updater.sh b/.github/tokens-updater.sh index a1b1c1d66..f39044139 100644 --- a/.github/tokens-updater.sh +++ b/.github/tokens-updater.sh @@ -10,7 +10,6 @@ fi git config --local user.email "action@github.com" git config --local user.name "GitHub Action" -git checkout -B tokens-autoupdate ./gradlew generator:colors git add --all || true diff --git a/.github/workflows/tokens-updater.yml b/.github/workflows/tokens-updater.yml index 94abc3ff9..9b9f1ec4d 100644 --- a/.github/workflows/tokens-updater.yml +++ b/.github/workflows/tokens-updater.yml @@ -35,4 +35,5 @@ jobs: feature design-tokens-autoupdate title: Design Tokens Update on ${{ env.TODAY }} + base: main branch: tokens-autoupdate