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 c99ff8c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/push-and-pr.workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,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_name == 'master' || github.ref_name == 'beta' || github.ref_name == 'eslint-9') }}
needs: [lint, functional-tests]
runs-on: ubuntu-latest
permissions:
Expand All @@ -73,9 +73,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 c99ff8c

Please sign in to comment.