fix(ns-paystack): replace gh token with npm token

This commit is contained in:
Brian Pooe 2023-06-04 12:12:58 +02:00
parent 0848c4bf06
commit 4ec9e061b4

View file

@ -1,7 +1,7 @@
name: BP DEVTOOLS CI
on:
workflow_dispatch:
workflow_dispatch:
push:
branches:
- main
@ -28,14 +28,14 @@ jobs:
if: ${{ github.event_name == 'pull_request' }}
with:
ref: ${{ github.event.pull_request.head.sha }}
token: ${{ secrets.GH_TOKEN }}
token: ${{ secrets.NPM_TOKEN }}
fetch-depth: 0
- name: Checkout [Default Branch]
uses: actions/checkout@v2
if: ${{ github.event_name != 'pull_request' }}
with:
token: ${{ secrets.GH_TOKEN }}
token: ${{ secrets.NPM_TOKEN }}
fetch-depth: 0
- name: Derive appropriate SHAs for base and head for `nx affected` commands