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

Migrate to GitHub Actions reusable workflows (2) #74

Merged
merged 2 commits into from
Oct 15, 2024
Merged

Conversation

rnro
Copy link
Contributor

@rnro rnro commented Oct 14, 2024

Prepare repo for new GHA checks.

(see #70)

Motivation:

Migrate to GitHub Actions reusable workflows

Modifications:

  • Add GHA PR label checks
  • Add GHA benchmarks checks
  • Satisfy soundness checks

Result:

New soundness checks should be green and ready for adoption

Once this PR is merged we can:

  • Enable the new CI
  • Disable the old CI via GitHub
  • In a future PR Delete the old CI scripts

@rnro rnro added the semver/none No version bump required. label Oct 14, 2024
@rnro rnro force-pushed the adopt_gha branch 3 times, most recently from d1ae575 to dd9e1bf Compare October 15, 2024 08:29
Motivation:

Migrate to GitHub Actions reusable workflows (2)

Modifications:

* Add GHA PR label checks
* Add GHA benchmarks checks
* Satisfy soundness checks

Result:

New soundness checks should be green and ready for adoption
docs_check_enabled: false
format_check_enabled: false
license_header_check_enabled: false
api_breakage_check_enabled: true
Copy link
Member

Choose a reason for hiding this comment

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

Can we remove all of these since true is the default

timeout-minutes: 1
steps:
- name: Checkout repository
if: ${{ !env.ACT }}
Copy link
Member

Choose a reason for hiding this comment

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

Should we move that into the semantic version action itself so we don't have to spread this if check everywhere?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

👍 removed for now and I'll open a PR in NIO

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@@ -60,28 +60,40 @@ We require that your commit messages match our template. The easiest way to do t

git config commit.template dev/git.commit.template

### Run `./scripts/soundness.sh`
### Run CI checks locally
Copy link
Member

Choose a reason for hiding this comment

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

@rnro rnro requested a review from FranzBusch October 15, 2024 10:25
@rnro rnro merged commit d016643 into apple:main Oct 15, 2024
26 checks passed
@rnro rnro deleted the adopt_gha branch October 15, 2024 12:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver/none No version bump required.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants