Skip to content

ci: Fix release publishing#37

Merged
efiring merged 3 commits into
matplotlib:mainfrom
QuLogic:fix-release
Sep 7, 2023
Merged

ci: Fix release publishing#37
efiring merged 3 commits into
matplotlib:mainfrom
QuLogic:fix-release

Conversation

@QuLogic

@QuLogic QuLogic commented Sep 6, 2023

Copy link
Copy Markdown
Member

We can see in the latest build on main that the Publish step did not run, which broke due to my change in #34. The top-level env is not available as an env context directly, and apparently jobs outputs is the best way to do this.

Once that is fixed, it turns out that the Analytics is broken, so I updated it to use Plausible, which is now working and publishing on main, and publishing is skipped on other branches.

The workflow is also complaining that "The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/" so I've updated checkout to v4.

The top-level `env` is not available as an `env` context directly, and
apparently jobs outputs is the best way to do this.

@efiring efiring left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I can't judge these machinery changes in detail, but they don't touch policy, so there is no reason to require multiple approvals.

@story645

story645 commented Sep 7, 2023

Copy link
Copy Markdown
Member

@efiring the way the rules are written, I think any 3 matplotib maintainers can approve and it'll lift the block-as far as I can tell the branch protection rule isn't min3(steering-council), especially since there isn't a defined steering council role - but also i think that branch protection rule can be edited so that anyone on the steering council can override it for these kinda situations.

@efiring efiring merged commit b33fd60 into matplotlib:main Sep 7, 2023
@QuLogic QuLogic deleted the fix-release branch September 7, 2023 18:56
@QuLogic

QuLogic commented Sep 7, 2023

Copy link
Copy Markdown
Member Author

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.

4 participants