From 1c42cbdf9836a5eb2af9fcc2753e78e619c2219d Mon Sep 17 00:00:00 2001 From: CobyPear Date: Tue, 12 Dec 2023 11:16:08 -0600 Subject: [PATCH] Fix test workflow not running on changeset PRs --- .github/workflows/canary-release.yml | 1 + .github/workflows/release-and-split.yml | 15 +++++---------- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/.github/workflows/canary-release.yml b/.github/workflows/canary-release.yml index e996452a8..a043091cd 100644 --- a/.github/workflows/canary-release.yml +++ b/.github/workflows/canary-release.yml @@ -22,6 +22,7 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 0 + token: ${{ secrets.ACCESS_TOKEN }} - uses: pnpm/action-setup@v2 with: version: 8.8.0 diff --git a/.github/workflows/release-and-split.yml b/.github/workflows/release-and-split.yml index 3ec9a2557..cb08340d8 100644 --- a/.github/workflows/release-and-split.yml +++ b/.github/workflows/release-and-split.yml @@ -81,22 +81,15 @@ jobs: # next-drupal-starter - local_path: 'starters/next-drupal-starter-generated' split_repository: 'next-drupal-starter' - generator_cmd: - "next-drupal next-drupal-umami-addon --appName - @pantheon-systems/next-drupal-starter --cmsEndpoint '' - --tailwindcss --force --silent" + generator_cmd: "next-drupal next-drupal-umami-addon --appName @pantheon-systems/next-drupal-starter --cmsEndpoint '' --tailwindcss --force --silent" # gatsby-wordpress-starter - local_path: 'starters/gatsby-wordpress-starter-generated' split_repository: 'gatsby-wordpress-starter' - generator_cmd: - "gatsby-wp --appName @pantheon-systems/gatsby-wordpress-starter - --cmsEndpoint '' --tailwindcss --force --silent" + generator_cmd: "gatsby-wp --appName @pantheon-systems/gatsby-wordpress-starter --cmsEndpoint '' --tailwindcss --force --silent" # next-wordpress-starter - local_path: 'starters/next-wordpress-starter-generated' split_repository: 'next-wordpress-starter' - generator_cmd: - "next-wp --appName @pantheon-systems/next-wordpress-starter - --cmsEndpoint '' --tailwindcss --force --silent" + generator_cmd: "next-wp --appName @pantheon-systems/next-wordpress-starter --cmsEndpoint '' --tailwindcss --force --silent" # docs site - local_path: 'web' @@ -105,6 +98,8 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v3 + with: + token: ${{ secrets.ACCESS_TOKEN }} - name: Setup node if: ${{ matrix.generator_cmd != '' }}