Skip to content

Commit

Permalink
chore(ci): update release workflow trigger conditions
Browse files Browse the repository at this point in the history
- Add branch wildcard to workflow triggers
- Include changeset-release and package.json in path filters
- Add pull request trigger for closed events
- Update concurrency settings with PR number
  • Loading branch information
pcfreak30 committed Oct 30, 2024
1 parent 7382bac commit 46d44a7
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,26 @@ name: Release
on:
push:
branches:
- "develop"
- "**"
paths:
- '.changeset/**'
- '.changeset-release/**'
- 'package.json'
tags:
- '**'
pull_request:
types:
- closed
branches:
- '**'
paths:
- '.changeset/**'
- '.changeset-release/**'
- 'package.json'

concurrency: ${{ github.workflow }}-${{ github.ref }}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true

jobs:
publish:
Expand Down

0 comments on commit 46d44a7

Please sign in to comment.