Skip to content

Commit

Permalink
ci: additional changes to support hotfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
benelan committed May 10, 2024
1 parent 2d64cd1 commit 65a518d
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 50 deletions.
44 changes: 0 additions & 44 deletions .github/workflows/chromatic-rc.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
zip: true
exitOnceUploaded: true
autoAcceptChanges: ${{ github.head_ref || github.ref_name }}
autoAcceptChanges: ${{ github.base_ref || github.ref_name }}
workingDir: packages/calcite-components
env:
STORYBOOK_SCREENSHOT_TEST_BUILD: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-bot.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: PR Bot
on:
pull_request:
branches: [main, rc]
branches: [main, rc, hotfix]
permissions:
pull-requests: write
issues: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: E2E
on:
workflow_dispatch:
pull_request:
branches: [main, rc]
branches: [main, rc, hotfix]
jobs:
e2e:
runs-on: ubuntu-20.04
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-milestone.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: PR Merged
on:
pull_request:
branches: [main, rc]
branches: [main, rc, hotfix]
types: [closed]
jobs:
milestone:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ name: Run eslint-plugin-calcite-components tests
on:
pull_request:
paths: ["packages/eslint-plugin-calcite-components/**"]
branches: [main, rc]
branches: [main, rc, hotfix]
push:
paths: ["packages/eslint-plugin-calcite-components/**"]
branches: [main, rc]
branches: [main, rc, hotfix]

jobs:
build:
Expand Down

0 comments on commit 65a518d

Please sign in to comment.