diff --git a/.github/workflows/mirror_noir_subrepo.yml b/.github/workflows/mirror_noir_subrepo.yml index 0edb371ae99..31aaa92ea97 100644 --- a/.github/workflows/mirror_noir_subrepo.yml +++ b/.github/workflows/mirror_noir_subrepo.yml @@ -20,12 +20,6 @@ jobs: runs-on: ubuntu-latest steps: - - name: Checkout - uses: actions/checkout@v3 - with: - fetch-depth: 0 - token: ${{ secrets.AZTEC_BOT_GITHUB_TOKEN }} - - name: Checkout uses: actions/checkout@v3 with: @@ -67,6 +61,7 @@ jobs: # Formatted for updating the PR, overrides for release-please commit message parsing PR_BODY="BEGIN_COMMIT_OVERRIDE\n$MESSAGE\nEND_COMMIT_OVERRIDE" PR_URL=$(gh pr list --head aztec2-packages --json url --jq ".[0].url") + export GH_TOKEN="${{ secrets.AZTEC_BOT_GITHUB_TOKEN }}" if [[ "$PR_URL" == "" ]]; then gh pr create --title "feat: Sync from aztec-packages" --body "$PR_BODY" --base master --head aztec2-packages else