Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CI for forks #3226

Merged
merged 2 commits into from
Jul 19, 2024
Merged

Fix CI for forks #3226

merged 2 commits into from
Jul 19, 2024

Conversation

jmartinesp
Copy link
Member

This is what I intended to merge in #3225 🥲

@jmartinesp jmartinesp requested a review from a team as a code owner July 19, 2024 15:33
@jmartinesp jmartinesp requested review from ganfra and removed request for a team July 19, 2024 15:33
@jmartinesp jmartinesp added the PR-Build For changes related to build, tools, CI/CD label Jul 19, 2024
Copy link
Contributor

📱 Scan the QR code below to install the build (arm64 only) for this PR.
QR code
If you can't scan the QR code you can install the build via this link: https://i.diawi.com/M9J5Vd

Copy link

sonarcloud bot commented Jul 19, 2024

Copy link

codecov bot commented Jul 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 76.13%. Comparing base (5eef7c1) to head (7cafe40).
Report is 2 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #3226   +/-   ##
========================================
  Coverage    76.13%   76.13%           
========================================
  Files         1645     1645           
  Lines        38816    38816           
  Branches      7520     7520           
========================================
  Hits         29554    29554           
  Misses        5361     5361           
  Partials      3901     3901           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jmartinesp jmartinesp merged commit cbad91e into develop Jul 19, 2024
30 checks passed
@jmartinesp jmartinesp deleted the test/jme/fix-ci-for-forks branch July 19, 2024 15:46
@@ -17,7 +17,7 @@ jobs:
name: Build Enterprise APKs
runs-on: ubuntu-latest
# Skip in forks
if: github.repository == 'element-hq/element-x-android'
if: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == 'element-hq/element-x-android' }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jmartinesp this is not working as expected, the condition is true for forks wanting to build the main branch for instance. What was the rationale for this change?

CC @yostyle

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think some jobs were being accidentally run before, but I can't remember, to be honest. We can try reverting to the previous config, or try to tweak this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR-Build For changes related to build, tools, CI/CD
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants