File tree Expand file tree Collapse file tree 3 files changed +17
-3
lines changed Expand file tree Collapse file tree 3 files changed +17
-3
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,10 @@ permissions:
1515 checks : write
1616 repository-projects : read
1717
18+ concurrency :
19+ group : ${{ github.workflow }}-${{ github.ref }}
20+ cancel-in-progress : true
21+
1822jobs :
1923 merge :
2024 name : generate storybook and coverage report
Original file line number Diff line number Diff line change @@ -15,7 +15,11 @@ permissions:
1515 statuses : write
1616 checks : write
1717 repository-projects : read
18-
18+
19+ concurrency :
20+ group : ${{ github.workflow }}-${{ github.ref }}
21+ cancel-in-progress : true
22+
1923jobs :
2024 chromatic-deployment :
2125 name : " Deploy Storybook to Chromatic"
@@ -119,7 +123,6 @@ jobs:
119123 uses : " actions/checkout@v4"
120124 with :
121125 ref : ${{ github.ref }}
122- token : ${{ secrets.PACKAGES_ADMIN_TOKEN }}
123126 fetch-depth : 0
124127
125128 - name : Setup Git
@@ -148,6 +151,9 @@ jobs:
148151 ssh-add - <<< "${COMMIT_KEY}"
149152 git config --add [email protected] :.insteadof https://github.com/ 150153
154+ # Pull latest changes before pushing
155+ git pull --rebase origin main
156+
151157 # Push with tags
152158 git push --follow-tags origin
153159
Original file line number Diff line number Diff line change @@ -13,7 +13,11 @@ permissions:
1313 statuses : write
1414 checks : write
1515 repository-projects : read
16-
16+
17+ concurrency :
18+ group : ${{ github.workflow }}-${{ github.ref }}
19+ cancel-in-progress : true
20+
1721jobs :
1822 build :
1923 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments