Skip to content

Commit

Permalink
ci(covector): update version or publish
Browse files Browse the repository at this point in the history
  • Loading branch information
fu050409 committed Sep 28, 2024
1 parent 7fe52d1 commit f68c7d2
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/covector-version-or-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # required for use of git history
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
registry-url: 'https://registry.npmjs.org'
- name: cargo login
Expand All @@ -38,9 +38,6 @@ jobs:
- name: covector version or publish (publish when no change files present)
uses: jbolda/covector/packages/action@covector-v0.12
id: covector
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
CARGO_AUDIT_OPTIONS: ${{ secrets.CARGO_AUDIT_OPTIONS }}
with:
token: ${{ secrets.GITHUB_TOKEN }}
command: 'version-or-publish'
Expand All @@ -51,8 +48,8 @@ jobs:
uses: peter-evans/create-pull-request@v6
if: steps.covector.outputs.commandRan == 'version'
with:
title: "Publish New Versions"
title: "release: bump versions"
commit-message: "publish new versions"
labels: "version updates"
labels: "release"
branch: "release"
body: ${{ steps.covector.outputs.change }}

0 comments on commit f68c7d2

Please sign in to comment.