From a7aa6828624d15bd7ff1caa5342036c30e1c1403 Mon Sep 17 00:00:00 2001 From: TJ Kandala Date: Fri, 17 Sep 2021 16:50:04 -0400 Subject: [PATCH] ci: use token env vars (#406) --- .github/workflows/build.yml | 3 +++ README.md | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7eae7e67..60671272 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,4 +23,7 @@ jobs: - run: 'bash <(curl -s https://codecov.io/bash)' - name: release if: github.event_name == 'push' && github.ref == 'refs/heads/master' + env: + GITHUB_TOKEN: ${{ secrets.GH_PROJECTS_ACTION_TOKEN }} + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} run: yarn run semantic-release diff --git a/README.md b/README.md index 682f8df7..45a1b371 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # CodeIntellify -[![build](https://travis-ci.org/sourcegraph/codeintellify.svg?branch=master)](https://travis-ci.org/sourcegraph/codeintellify) +![build](https://github.com/sourcegraph/codeintellify/actions/workflows/build.yml/badge.svg) [![codecov](https://codecov.io/gh/sourcegraph/codeintellify/branch/master/graph/badge.svg?token=1Xk7sdvG0y)](https://codecov.io/gh/sourcegraph/codeintellify) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://github.com/prettier/prettier) [![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)