fix: Update CI configuration to prevent failure on Codecov errors and clean up condition syntax in branch propagation workflow
This commit is contained in:
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@@ -67,7 +67,5 @@ jobs:
|
||||
- name: Upload coverage to Codecov
|
||||
uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4
|
||||
with:
|
||||
fail_ci_if_error: true
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
# Optional: set CODECOV_TOKEN in repo secrets if needed for private repos
|
||||
fail_ci_if_error: false
|
||||
# Note: Add CODECOV_TOKEN to repo secrets if upload fails or for private repos
|
||||
|
||||
3
.github/workflows/propagate-changes.yml
vendored
3
.github/workflows/propagate-changes.yml
vendored
@@ -14,8 +14,7 @@ jobs:
|
||||
propagate:
|
||||
name: Create PR to synchronize branches
|
||||
runs-on: ubuntu-latest
|
||||
if: "\n github.actor != 'github-actions[bot]' && \
|
||||
github.event.pusher != null\n "
|
||||
if: github.actor != 'github-actions[bot]' && github.event.pusher != null
|
||||
steps:
|
||||
- name: Set up Node (for github-script)
|
||||
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
|
||||
|
||||
Reference in New Issue
Block a user