Skip to content

Commit

Permalink
fix(ci): exclude release-please from deploy triggers (#1190)
Browse files Browse the repository at this point in the history
  • Loading branch information
DerekRoberts authored Feb 13, 2024
1 parent 2985480 commit 64b296d
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ name: Analysis
on:
push:
branches: [main]
merge_group:
paths-ignore:
- '.release-please-manifest.json'
- '*.md'
pull_request:
types: [opened, reopened, synchronize, ready_for_review, converted_to_draft]
schedule:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/deploys-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: deploys-test
on:
push:
branches: [main]
paths-ignore:
- '.release-please-manifest.json'
- '*.md'
workflow_dispatch:
inputs:
pr_no:
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/pr-validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,11 @@ on:
types: [edited, opened, reopened]

concurrency:
# Cancel in progress for PR open and close, but not merge_group
group: ${{ github.workflow }}-${{ github.event.number || github.event.merge_group.base_sha }}
# Cancel in progress for PR open and close
group: ${{ github.workflow }}-${{ github.event.number }}
cancel-in-progress: true

jobs:
# PR only, skip for merge_group
conventional-commits:
name: Conventional Commits
runs-on: ubuntu-22.04
Expand All @@ -25,7 +24,6 @@ jobs:
echo "https://www.conventionalcommits.org/en/v1.0.0/"
exit 1
# PR only, skip for merge_group
pr-description-add:
name: PR Description Add
env:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ name: release-please
on:
push:
branches: [main]
paths-ignore:
- '.release-please-manifest.json'
- '*.md'

permissions:
contents: write
Expand Down

0 comments on commit 64b296d

Please sign in to comment.