Skip to content

Commit

Permalink
ci: update workflows with PAT
Browse files Browse the repository at this point in the history
  • Loading branch information
thesimonho committed Jun 10, 2024
1 parent ad9db1b commit d9df47e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
push:
branches:
- main
paths-ignore:
- 'package.json'
jobs:
publish:
runs-on: ubuntu-latest
Expand All @@ -12,10 +14,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set git config
run: |
git config user.name "${{ github.actor }}"
git config user.email "${{ github.actor }}@users.noreply.github.com"
with:
token: ${{ secrets.PUSH_PAT }}
- name: Install Node.js
uses: actions/setup-node@v4
with:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: "Create release"
on:
workflow_dispatch:
push:
tags:
- "v*.*.*"
Expand All @@ -14,6 +15,7 @@ jobs:
- name: Release
uses: softprops/action-gh-release@v2
with:
token: ${{ secrets.PUSH_PAT }}
draft: false
generate_release_notes: true
make_latest: true

0 comments on commit d9df47e

Please sign in to comment.