Skip to content

Commit 0f42faf

Browse files
committed
Fix publishing: temporarily revert OIDC changes
Reverts upstream changes for npm trusted publishing until a time we are able to migrate properly. See https://docs.npmjs.com/trusted-publishers See primer#1131 This partially reverts commit bfc5299
1 parent 4574a59 commit 0f42faf

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.github/workflows/publish.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ jobs:
6060
name: octicons_gem
6161
path: ./lib/octicons_helper/vendor/cache
6262
- uses: ./.github/actions/build_ruby
63+
env:
64+
RUBYGEMS_TOKEN: ${{ secrets.RUBYGEMS_TOKEN }}
6365
with:
6466
args: octicons_helper
6567
# node:
@@ -72,6 +74,8 @@ jobs:
7274
# name: octicons
7375
# path: ./lib/build
7476
# - uses: ./.github/actions/build_node
77+
# env:
78+
# NPM_AUTH_TOKEN_SHARED: ${{ secrets.NPM_AUTH_TOKEN_SHARED }}
7579
# with:
7680
# args: octicons_node
7781
angular:
@@ -85,5 +89,7 @@ jobs:
8589
path: ./lib/build
8690
- name: Build @openproject/octicons-angular
8791
uses: ./.github/actions/build_angular
92+
env:
93+
NPM_AUTH_TOKEN_SHARED: ${{ secrets.NPM_AUTH_TOKEN_SHARED }}
8894
with:
8995
args: octicons_angular

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,5 @@ jobs:
4343
version: yarn changeset:version
4444
publish: script/changeset-publish
4545
env:
46-
GITHUB_TOKEN: ${{ steps.get-access-token.outputs.access-token }}
46+
GITHUB_TOKEN: ${{ secrets.GPR_AUTH_TOKEN_SHARED }}
47+
NPM_TOKEN: ${{ secrets.NPM_AUTH_TOKEN_SHARED }}

0 commit comments

Comments
 (0)