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