Skip to content

Commit dfca2a9

Browse files
committed
fix: correct workflow syntax errors
- Fix integrate-develop.yml condition syntax - Remove trailing spaces from update-version.yml - All workflows now pass yamllint validation
1 parent 6212efc commit dfca2a9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/integrate-develop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
name: Create or Update PR to Staging
1515
runs-on: ubuntu-latest
1616
# Skip if this is a sync commit from main
17-
if: ${{ !contains(github.event.head_commit.message, 'sync version updates from main') && !contains(github.event.head_commit.message, 'Sync: main → develop') && !startsWith(github.event.head_commit.message, 'Merge pull request') && github.event.head_commit.author.name != 'github-actions[bot]' || !contains(github.event.head_commit.message, 'sync/main-to-develop') }}
17+
if: "!contains(github.event.head_commit.message, 'chore: sync version updates from main')"
1818
permissions:
1919
contents: write
2020
pull-requests: write

.github/workflows/update-version.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ jobs:
147147
148148
# Push directly to develop
149149
git push origin develop
150-
150+
151151
echo "✅ Successfully synced main to develop"
152152
env:
153153
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -165,7 +165,7 @@ jobs:
165165
166166
# Push directly to staging
167167
git push origin staging
168-
168+
169169
echo "✅ Successfully synced main to staging"
170170
env:
171171
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)