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

CI: run certain workflows only on main repo, not on forks #5091

Merged

Conversation

sphuber
Copy link
Contributor

@sphuber sphuber commented Aug 20, 2021

Fixes #5068

The following workflows should only be run on the main repo:

  • build_and_test_docker_on_pr.yml
  • post-release.yml
  • push_image_to_dockerhub.yml
  • release.yml

The following workflows should only be run on the main repo:

 * `build_and_test_docker_on_pr.yml`
 * `post-release.yml`
 * `push_image_to_dockerhub.yml`
 * `release.yml`
@codecov
Copy link

codecov bot commented Aug 20, 2021

Codecov Report

Merging #5091 (993a82a) into develop (3b5c975) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop    #5091   +/-   ##
========================================
  Coverage    80.52%   80.52%           
========================================
  Files          531      531           
  Lines        37095    37095           
========================================
  Hits         29867    29867           
  Misses        7228     7228           
Flag Coverage Δ
django 75.02% <ø> (ø)
sqlalchemy 73.96% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3b5c975...993a82a. Read the comment docs.

Copy link
Member

@giovannipizzi giovannipizzi left a comment

Choose a reason for hiding this comment

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

Thanks!

@sphuber sphuber merged commit a2067eb into aiidateam:develop Aug 22, 2021
@sphuber sphuber deleted the fix/5068/disable-github-actions-on-forks branch August 22, 2021 13:33
sphuber added a commit to sphuber/aiida-core that referenced this pull request Oct 5, 2021
…5091)

The following workflows should only be run on the main repo:

 * `build_and_test_docker_on_pr.yml`
 * `post-release.yml`
 * `push_image_to_dockerhub.yml`
 * `release.yml`

Cherry-pick: a2067eb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Push to DockerHub action should not run (and fail) on forks
2 participants