test: run release.yml workflow on push to this working branch
This commit is contained in:
17
.github/workflows/release.yml
vendored
17
.github/workflows/release.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user