test: run release.yml workflow on push to this working branch

This commit is contained in:
Dustin Ruetz
2024-04-03 18:36:21 -04:00
parent da98918135
commit 1b0b59a7a7

View File

@@ -1,14 +1,13 @@
name: Release
on:
pull_request
# push:
# branches:
# - main
# workflow_run:
# workflows: ["Lint", "Run acceptance tests"]
# types:
# - completed
push:
branches:
- ruetz-automate-releases
workflow_run:
workflows: ["Lint", "Run acceptance tests"]
types:
- completed
permissions:
contents: read # for checkout
@@ -41,4 +40,4 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release --branches main --dry-run
run: npx semantic-release --branches ruetz-automate-releases --dry-run