Skip to content

Commit

Permalink
no master
Browse files Browse the repository at this point in the history
  • Loading branch information
patricklx committed Oct 28, 2024
1 parent ba931f6 commit 7ea10be
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/plan-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ on:
push:
branches:
- main
- master
pull_request_target: # This workflow has permissions on the repo, do NOT run code from PRs in this workflow. See https://securitylab.github.com/research/github-actions-preventing-pwn-requests/
types:
- labeled
Expand All @@ -24,7 +23,7 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
ref: 'master'
ref: 'main'
# This will only cause the `check-plan` job to have a "command" of `release`
# when the .release-plan.json file was changed on the last commit.
- id: check-release
Expand All @@ -51,7 +50,7 @@ jobs:
# github-changelog can discover what's changed since the last release
with:
fetch-depth: 0
ref: 'master'
ref: 'main'
- uses: actions/setup-node@v4
with:
node-version: 18
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# For every push to the master branch, this checks if the release-plan was
# For every push to the main branch, this checks if the release-plan was
# updated and if it was it will publish stable npm packages based on the
# release plan

Expand All @@ -9,7 +9,6 @@ on:
push:
branches:
- main
- master

concurrency:
group: publish-${{ github.head_ref || github.ref }}
Expand All @@ -26,7 +25,7 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
ref: 'master'
ref: 'main'
# This will only cause the `check-plan` job to have a result of `success`
# when the .release-plan.json file was changed on the last commit. This
# plus the fact that this action only runs on main will be enough of a guard
Expand Down

0 comments on commit 7ea10be

Please sign in to comment.