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

#5180 do not run publish-to-test-pypi on forks #5220

Merged
merged 3 commits into from Mar 30, 2023

Conversation

agriyakhetarpal
Copy link
Contributor

@agriyakhetarpal agriyakhetarpal commented Mar 29, 2023

🚀 Pull Request

Description

Checks for 'SciTools' as the repository owner such that ci_wheels.yml does not run the "publish to test.pypi" step in forks, fixes #5180


Consult Iris pull request check list

Copy link
Member

@lbdreyer lbdreyer left a comment

Choose a reason for hiding this comment

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

Thanks for doing this @agriyakhetarpal !

Whilst you are fixing #5180, could you also add the check to the publish to pypi job (here)?

Also, before I can this merge in, you will need to sign the CLA: https://scitools.org.uk/cla/v4/form
This is linked off the SciTools Governance page: https://scitools.org.uk/organisation.html#governance

@codecov
Copy link

codecov bot commented Mar 30, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (2056703) 89.27% compared to head (818b3aa) 89.27%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5220   +/-   ##
=======================================
  Coverage   89.27%   89.27%           
=======================================
  Files          88       88           
  Lines       22258    22258           
  Branches     4867     4867           
=======================================
  Hits        19871    19871           
  Misses       1641     1641           
  Partials      746      746           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@agriyakhetarpal
Copy link
Contributor Author

Thanks @lbdreyer, added it to the publish to pypi job – and I signed the CLA too

@bjlittle
Copy link
Member

Awesome, thanks @agriyakhetarpal 🥳

Do you fancy adding a suitable entry into our release notes at the end of the 💼 Internal section ? Just follow the style and pattern of other entries.

You'll also have to add a reference to your GitHub handle at the end of this section too.

If you're not sure about anything, don't hesitate to ask 👍

@lbdreyer
Copy link
Member

Thanks for an awesome first contribution @agriyakhetarpal !

I have already updated the what's new see: 818b3aa

All green ticks now, so I'm going to merge!

@lbdreyer lbdreyer merged commit 164484e into SciTools:main Mar 30, 2023
15 checks passed
@agriyakhetarpal
Copy link
Contributor Author

I was just getting to push those changes, but I see you've already done that – thanks @lbdreyer! 🎉

@agriyakhetarpal agriyakhetarpal deleted the issue-5180-infra branch March 30, 2023 11:00
HGWright added a commit to HGWright/iris that referenced this pull request Apr 3, 2023
* 'main' of github.com:SciTools/iris:
  Benchmark runner script (SciTools#5215)
  add locks readme (SciTools#5222)
  use explicit version for ci refresh-lockfiles gha (SciTools#5221)
  SciTools#5180 do not run publish-to-test-pypi on forks (SciTools#5220)
  Fix Makefile for consequences of SciTools#5204. (SciTools#5217)
tkknight added a commit to tkknight/iris that referenced this pull request Apr 4, 2023
* upstream/main: (274 commits)
  Cf cell method (SciTools#5224)
  Bump scitools/workflows from 2023.03.3 to 2023.04.1 (SciTools#5231)
  [pre-commit.ci] pre-commit autoupdate (SciTools#5230)
  Bump scitools/workflows from 2023.03.2 to 2023.03.3 (SciTools#5227)
  raise dask min pin (SciTools#5225)
  Enable lazy computation of wind vector rotation (SciTools#4972)
  Benchmark runner script (SciTools#5215)
  add locks readme (SciTools#5222)
  use explicit version for ci refresh-lockfiles gha (SciTools#5221)
  SciTools#5180 do not run publish-to-test-pypi on forks (SciTools#5220)
  Fix Makefile for consequences of SciTools#5204. (SciTools#5217)
  Bump actions/stale from 7 to 8 (SciTools#5208)
  Remove Iris' TestRunner (SciTools#5205)
  standardize requirements structure (SciTools#5204)
  Updated environment lockfiles (SciTools#5199)
  Add histogram convenience for passing Iris objects to plt.hist (SciTools#5189)
  Updated environment lockfiles (SciTools#5192)
  announce new contributor in whatsnew (SciTools#5198)
  iris.util.new_axis anonymous new dimension fix (SciTools#5194)
  Lockfiles and pydata-sphinx-theme fix (SciTools#5188)
  ...
ESadek-MO pushed a commit that referenced this pull request Apr 14, 2023
* Typo github.repository_owner.

* What's new entry.
tkknight added a commit to tkknight/iris that referenced this pull request Apr 18, 2023
* upstream/main: (29 commits)
  review actions
  update .git-blame-ignore-revs
  adopt codespell
  Adopt sphinx design (SciTools#5127)
  Bump scitools/workflows from 2023.04.2 to 2023.04.3 (SciTools#5253)
  refresh manual pypi publish instructions (SciTools#5252)
  Updated environment lockfiles (SciTools#5250)
  removed bugfix section
  Make bm_runner location agnostic and include debugging. (SciTools#5247)
  Restore latest Whats New files.
  SciTools#5220 typo github.repository_owner. (SciTools#5248)
  Whats new updates for v3.5.0rc0. (SciTools#5246)
  libnetcdf <4.9 pin (SciTools#5242)
  update cf standard units (SciTools#5244)
  Updated environment lockfiles (SciTools#5211)
  update ci locks location (SciTools#5228)
  Fixes to _discontiguity_in_bounds (attempt 2) (SciTools#4975)
  Finalises Lazy Data documentation (SciTools#5137)
  Modernize and simplify iris.analysis._Groupby (SciTools#5015)
  clarity on whatsnew entry contributors (SciTools#5240)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ci_wheels running "publish to test.pypi" on local-fork/main
3 participants