From a8d5ae7ace01ecccb780391e4f3466d3af915acf Mon Sep 17 00:00:00 2001 From: Andrew Gable Date: Thu, 10 Feb 2022 17:19:54 -0700 Subject: [PATCH 1/2] Use `OS_BOTIFY_TOKEN` instead of `GITHUB_TOKEN` --- .github/workflows/preDeploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/preDeploy.yml b/.github/workflows/preDeploy.yml index a7b2ff700709..12e1402b7e4d 100644 --- a/.github/workflows/preDeploy.yml +++ b/.github/workflows/preDeploy.yml @@ -14,14 +14,14 @@ jobs: uses: Expensify/App/.github/actions/triggerWorkflowAndWait@main with: WORKFLOW: lint.yml - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.OS_BOTIFY_TOKEN }} - name: Run tests id: tests uses: Expensify/App/.github/actions/triggerWorkflowAndWait@main with: WORKFLOW: test.yml - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.OS_BOTIFY_TOKEN }} # This Slack step is duplicated in all workflows, if you make a change to this step, make sure to update all # the other workflows with the same change From b9b8e7c379960a7687faaffec4289d133f191499 Mon Sep 17 00:00:00 2001 From: Andrew Gable Date: Thu, 10 Feb 2022 17:34:19 -0700 Subject: [PATCH 2/2] Remove uneeded branches-ignore --- .github/workflows/lint.yml | 1 - .github/workflows/test.yml | 1 - 2 files changed, 2 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 20a1601e9870..55291ac96980 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -2,7 +2,6 @@ name: Lint JavaScript on: workflow_dispatch: - branches-ignore: [staging, production] pull_request: types: [opened, synchronize] branches-ignore: [staging, production] diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index db9562ac6a92..c0d466fb3767 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,7 +2,6 @@ name: Jest Unit Tests on: workflow_dispatch: - branches-ignore: [staging, production] pull_request: types: [opened, synchronize] branches-ignore: [staging, production]