Browse Source

Use encrypted codecov token.

The Cirrus CI config included the codecov token in cleartext as I was under the
impression that this was necessary for coverage reports on pull requests to work
correctly. But this seems to be also causing pushes in other people's
Elvish repositories to appear in the master branch's commit history
(https://app.codecov.io/gh/elves/elvish/commits). Changing the token to be
encrypted might fix the problem; if this breaks coverage reports on pull
requests the token can be switched back to cleartext.
Qi Xiao 3 years ago
parent
commit
8df6d36d5f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .cirrus.yml

+ 1 - 1
.cirrus.yml

@@ -1,7 +1,7 @@
 test_task:
   env:
     ELVISH_TEST_TIME_SCALE: 20
-    CODECOV_TOKEN: e10d2e99-591b-4d2a-a8cf-8ca3e8d6df61
+    CODECOV_TOKEN: ENCRYPTED[fcfbb034d9341821345216d5da5de529e582b85a2dde43da484e9827166ce1770d8e1da4ed2f32ddb7f4eb4fba593158]
     TEST_FLAG: -race
   go_modules_cache:
     fingerprint_script: cat go.sum