From 230486b967f882ff7931b67788351189753ff048 Mon Sep 17 00:00:00 2001 From: Chiedo Date: Fri, 9 Oct 2020 16:45:09 -0400 Subject: [PATCH 1/4] Attempt intentional skip --- .github/workflows/start-new-engineering-pr-workflow.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/start-new-engineering-pr-workflow.yml b/.github/workflows/start-new-engineering-pr-workflow.yml index 8bb264a25f43..d5b85a131d36 100644 --- a/.github/workflows/start-new-engineering-pr-workflow.yml +++ b/.github/workflows/start-new-engineering-pr-workflow.yml @@ -14,6 +14,7 @@ jobs: steps: - name: uses: actions/github-script@v2 + if: (secrets.DOCUBOT_FR_PROJECT_BOARD_WORKFLOWS_REPO_ORG_READ_SCOPES_ATTEMPT_SKIP) with: github-token: ${{ secrets.DOCUBOT_FR_PROJECT_BOARD_WORKFLOWS_REPO_ORG_READ_SCOPES }} script: | From 8d6d2e001d2cee7e15336ce7065997f6a1f187ae Mon Sep 17 00:00:00 2001 From: Chiedo Date: Fri, 9 Oct 2020 16:48:42 -0400 Subject: [PATCH 2/4] Correction now that the test worked --- .github/workflows/start-new-engineering-pr-workflow.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/start-new-engineering-pr-workflow.yml b/.github/workflows/start-new-engineering-pr-workflow.yml index d5b85a131d36..9f5a7def8569 100644 --- a/.github/workflows/start-new-engineering-pr-workflow.yml +++ b/.github/workflows/start-new-engineering-pr-workflow.yml @@ -14,7 +14,7 @@ jobs: steps: - name: uses: actions/github-script@v2 - if: (secrets.DOCUBOT_FR_PROJECT_BOARD_WORKFLOWS_REPO_ORG_READ_SCOPES_ATTEMPT_SKIP) + if: (secrets.DOCUBOT_FR_PROJECT_BOARD_WORKFLOWS_REPO_ORG_READ_SCOPES) with: github-token: ${{ secrets.DOCUBOT_FR_PROJECT_BOARD_WORKFLOWS_REPO_ORG_READ_SCOPES }} script: | From 05511992f5cbfa932d8fcf2e390032b332b4d234 Mon Sep 17 00:00:00 2001 From: Chiedo Date: Fri, 9 Oct 2020 16:56:22 -0400 Subject: [PATCH 3/4] Another attempt --- .github/workflows/start-new-engineering-pr-workflow.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/start-new-engineering-pr-workflow.yml b/.github/workflows/start-new-engineering-pr-workflow.yml index 9f5a7def8569..385beeab9e7c 100644 --- a/.github/workflows/start-new-engineering-pr-workflow.yml +++ b/.github/workflows/start-new-engineering-pr-workflow.yml @@ -14,9 +14,9 @@ jobs: steps: - name: uses: actions/github-script@v2 - if: (secrets.DOCUBOT_FR_PROJECT_BOARD_WORKFLOWS_REPO_ORG_READ_SCOPES) + continue-on-error: true with: - github-token: ${{ secrets.DOCUBOT_FR_PROJECT_BOARD_WORKFLOWS_REPO_ORG_READ_SCOPES }} + github-token: ${{ secrets.DOCUBOT_FR_PROJECT_BOARD_WORKFLOWS_REPO_ORG_READ_SCOPESO }} script: | // Only assign the engineering folks try { From cdf99779a3bf9c36fe195ff39eb69a0e45624fed Mon Sep 17 00:00:00 2001 From: Chiedo Date: Fri, 9 Oct 2020 17:00:17 -0400 Subject: [PATCH 4/4] Add the correct token now w/ continue-on-error --- .github/workflows/start-new-engineering-pr-workflow.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/start-new-engineering-pr-workflow.yml b/.github/workflows/start-new-engineering-pr-workflow.yml index 385beeab9e7c..03d75ccda9e8 100644 --- a/.github/workflows/start-new-engineering-pr-workflow.yml +++ b/.github/workflows/start-new-engineering-pr-workflow.yml @@ -16,7 +16,7 @@ jobs: uses: actions/github-script@v2 continue-on-error: true with: - github-token: ${{ secrets.DOCUBOT_FR_PROJECT_BOARD_WORKFLOWS_REPO_ORG_READ_SCOPESO }} + github-token: ${{ secrets.DOCUBOT_FR_PROJECT_BOARD_WORKFLOWS_REPO_ORG_READ_SCOPES }} script: | // Only assign the engineering folks try {