Skip to content

Commit

Permalink
💚 ci: Used own secret instead of GitHub token
Browse files Browse the repository at this point in the history
  • Loading branch information
joebobmiles committed Jul 13, 2021
1 parent 655dd5e commit 9155515
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ jobs:
- run: npm ci
env:
# Provide a "password" to GPR so that we can pull our packages.
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.GH_TOKEN }}

- run: npm run build

- run: npx semantic-release --dry-run
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Test & Lint

on:
push:
branches-ignore: [ master, main ]
branches-ignore: [ master ]

jobs:
commitlint:
Expand All @@ -26,7 +26,7 @@ jobs:
- run: npm ci
env:
# Provide a "password" to GPR so that we can pull our packages.
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.GH_TOKEN }}

- run: npx commitlint --from HEAD~1 --to HEAD --verbose

Expand All @@ -49,7 +49,7 @@ jobs:
- run: npm ci
env:
# Provide a "password" to GPR so that we can pull our packages.
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.GH_TOKEN }}

- run: npm ci

Expand All @@ -74,6 +74,6 @@ jobs:
- run: npm ci
env:
# Provide a "password" to GPR so that we can pull our packages.
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.GH_TOKEN }}

- run: npm run test

0 comments on commit 9155515

Please sign in to comment.