Skip to content

Commit

Permalink
ci(release): ignore changelog from linter, don't rebase dev branch yet
Browse files Browse the repository at this point in the history
  • Loading branch information
fmauNeko committed Dec 17, 2024
1 parent 0297387 commit 8f1d737
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/push-and-pr.workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:
- master
- beta
- '[0-9]+-dev'
- eslint-9
pull_request:

jobs:
Expand Down Expand Up @@ -46,7 +45,7 @@ jobs:

release:
name: Release process
if: ${{ github.event_name == 'push' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/beta' || github.ref == 'refs/heads/eslint-9') }}
if: ${{ github.event_name == 'push' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/beta') || github.ref == 'refs/heads/eslint-9' }}
needs: [lint, functional-tests]
runs-on: ubuntu-latest
permissions:
Expand All @@ -73,9 +72,9 @@ jobs:
SEMANTIC_RELEASE_SLACK_WEBHOOK: ${{ secrets.SEMANTIC_RELEASE_SLACK_WEBHOOK }}
run: npx semantic-release

- name: Rebase dev branch (keep linear history)
if: ${{ github.ref != 'refs/heads/1-dev' }}
run: |
git fetch --no-tags origin 1-dev:1-dev
git rebase ${GITHUB_REF_NAME} 1-dev
git push origin 1-dev
# - name: Rebase dev branch (keep linear history)
# if: ${{ github.ref != 'refs/heads/1-dev' }}
# run: |
# git fetch --no-tags origin 1-dev:1-dev
# git rebase ${GITHUB_REF_NAME} 1-dev
# git push origin 1-dev
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CHANGELOG.md

0 comments on commit 8f1d737

Please sign in to comment.