diff options
author | Andres Noetzli <andres.noetzli@gmail.com> | 2020-04-21 23:18:17 -0700 |
---|---|---|
committer | Andres Noetzli <andres.noetzli@gmail.com> | 2020-04-21 23:18:17 -0700 |
commit | 49726734d89c284053788186bcf5d5a447649dcb (patch) | |
tree | b7e0ef023174fa988263cad72077fdf60da23f73 | |
parent | 7ab88ab8dc41162fee2dfc7a6804c9aa91586b93 (diff) |
gh token?
-rw-r--r-- | .github/workflows/ci.yml | 2 | ||||
-rwxr-xr-x | .github/workflows/run-clang-tidy.py | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d9bd00f5d..85132563b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -178,3 +178,5 @@ jobs: run: | ../.github/workflows/run-clang-tidy.py working-directory: build + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/run-clang-tidy.py b/.github/workflows/run-clang-tidy.py index 6611f042c..7efadbc07 100755 --- a/.github/workflows/run-clang-tidy.py +++ b/.github/workflows/run-clang-tidy.py @@ -48,7 +48,6 @@ def main(): } } - print(os.environ) if 'GITHUB_TOKEN' in os.environ: repo = os.environ['GITHUB_REPOSITORY'] sha = os.environ['GITHUB_SHA'] |