diff --git a/.github/workflows/health-metrics-pull-request.yml b/.github/workflows/health-metrics-pull-request.yml index bac3eee46ca..a904a158825 100644 --- a/.github/workflows/health-metrics-pull-request.yml +++ b/.github/workflows/health-metrics-pull-request.yml @@ -1,6 +1,9 @@ name: Health Metrics -on: [push, pull_request] +on: + push: + branches: ['**'] + pull_request: env: GITHUB_PULL_REQUEST_NUMBER: ${{ github.event.pull_request.number }} diff --git a/.github/workflows/release-prod.yml b/.github/workflows/release-prod.yml index 0238c0c6a35..bf6b4c383c6 100644 --- a/.github/workflows/release-prod.yml +++ b/.github/workflows/release-prod.yml @@ -21,6 +21,7 @@ jobs: # Release script requires git history and tags. fetch-depth: 0 ref: release + token: ${{ secrets.OSS_BOT_GITHUB_TOKEN }} - name: Yarn install run: yarn - name: Publish to NPM @@ -31,7 +32,6 @@ jobs: # TODO: Make these flags defaults in the release script. run: yarn release --releaseType Production --ci --skipTests --skipReinstall --ignoreUnstaged env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN_ANALYTICS: ${{secrets.NPM_TOKEN_ANALYTICS}} NPM_TOKEN_ANALYTICS_INTEROP_TYPES: ${{secrets.NPM_TOKEN_ANALYTICS_INTEROP_TYPES}} NPM_TOKEN_ANALYTICS_TYPES: ${{secrets.NPM_TOKEN_ANALYTICS_TYPES}} diff --git a/.github/workflows/test-all.yml b/.github/workflows/test-all.yml index 1b5ece531ce..7a2c46d6e61 100644 --- a/.github/workflows/test-all.yml +++ b/.github/workflows/test-all.yml @@ -1,6 +1,9 @@ name: Test All Packages -on: push +on: + push: + branches: ['**'] + env: # make chromedriver detect installed Chrome version and download the corresponding driver DETECT_CHROMEDRIVER_VERSION: true