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

dev: split post-release workflow #4440

Merged
merged 1 commit into from
Mar 3, 2024

Conversation

ldez
Copy link
Member

@ldez ldez commented Mar 2, 2024

The post-release workflow does 2 things:

  • generate contributors list for the readme
  • generate GitHub Action assets

And then create a PR with all the generated content.

The generation of the contributor list takes more than 1 hour and can fail.
https://github.com/golangci/golangci-lint/actions/workflows/post-release.yml

The generation of GitHub Action assets is really quick, and those assets are required to be able to install the new version from GitHub Action.

Each time it fails, I'm forced to do the work by hand.

I changed the workflow

  • to not fail on a failure of the update of the readme.
  • to create 2 PRs: one for the readme, and one for the assets.

So even if the readme generation fails, the assets are updated.

@ldez ldez added enhancement New feature or improvement area: ci PR that update CI labels Mar 2, 2024
@ldez ldez requested review from alexandear and bombsimon March 2, 2024 23:16
Copy link
Member

@bombsimon bombsimon left a comment

Choose a reason for hiding this comment

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

The generation of the contributor list takes more than 1 hour and can fail.

🤦

@ldez ldez merged commit 3866470 into golangci:master Mar 3, 2024
12 checks passed
@ldez ldez deleted the feat/split-postrelease-workflow branch March 3, 2024 16:31
@ldez ldez added this to the next milestone Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: ci PR that update CI enhancement New feature or improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants