summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2022-06-03 03:00:15 -0600
committerDan Allen <dan.j.allen@gmail.com>2022-06-03 03:00:15 -0600
commitc304da8357e49633f8971cb00c593b9f51144389 (patch)
tree37f8f935c07c019a7efadcca8c5cbf1fcb77dd55 /.github
parent54918f51575d3a7881af9eff451dfc8cd7535a1d (diff)
authenticate gh CLI during release process [skip ci]
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/release.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index eff086dc..65d30e3d 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -48,6 +48,7 @@ jobs:
run: bundle exec rake lint
- name: Setup release environment
run: |
+ echo ${{ secrets.GITHUB_TOKEN }} | gh auth login --with-token
echo RELEASE_VERSION=${{ github.event.inputs.release-version }} >> $GITHUB_ENV
echo RELEASE_BEER=${{ github.event.inputs.release-beer }} >> $GITHUB_ENV
echo RELEASE_RUBYGEMS_API_KEY=${{ secrets[format('RUBYGEMS_API_KEY_{0}', github.actor)] }} >> $GITHUB_ENV