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: Improve GitHub Action modularity #18861

Merged
merged 14 commits into from
Oct 17, 2024
Merged

ci: Improve GitHub Action modularity #18861

merged 14 commits into from
Oct 17, 2024

Conversation

notpeter
Copy link
Member

@notpeter notpeter commented Oct 8, 2024

  • Closes: Run workflows only in the main repository not on forks #19351
  • Switch to using the official typos GitHub Action
  • Move the typos check into actions/check_style
  • Move Squawk Postgres migration check out of actions/check_style file into ci.yml
  • actions/check_style can now be run on stateless/linux runners (previous required self-hosted MacOS runner)
  • ci.yml: Split old style into checks into those that can run statelessly (linux) and everything else into a new migration group which benefit from the full git checkout available on the MacOS runners.
  • ci.yml: Move Check unused dependencies from style to linux_tests
  • Add if: github.repository_owner == 'zed-industries' to all jobs so they won't try and run on GitHub forks.

Release Notes:

  • N/A

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Oct 8, 2024
@notpeter notpeter closed this Oct 8, 2024
@notpeter notpeter reopened this Oct 8, 2024
@maxdeviant maxdeviant changed the title ci: Add official typos github action ci: Add official typos GitHub Action Oct 8, 2024
@notpeter notpeter changed the title ci: Add official typos GitHub Action ci: Improve GitHub Action modularity (typos, migrations, check_style, etc) Oct 8, 2024
@notpeter notpeter changed the title ci: Improve GitHub Action modularity (typos, migrations, check_style, etc) ci: Improve GitHub Action modularity Oct 13, 2024
@zed-industries-bot
Copy link

Messages
📖

This PR includes links to the following GitHub Issues: #19351
If this PR aims to close an issue, please include a Closes #ISSUE line at the top of the PR body.

Generated by 🚫 dangerJS against df74a4e

@notpeter notpeter merged commit 4ae2f93 into main Oct 17, 2024
14 checks passed
@notpeter notpeter deleted the typos_action branch October 17, 2024 16:50
mikayla-maki pushed a commit that referenced this pull request Oct 18, 2024
- Closes: #19351
- Switch to using the official [typos GitHub Action](https://github.com/crate-ci/typos/blob/master/docs/github-action.md)
- Move the typos check into `actions/check_style`
- Move Squawk Postgres migration check out of `actions/check_style` file into ci.yml
- `actions/check_style` can now be run on stateless/linux runners (previous required self-hosted MacOS runner)
- ci.yml: Split old `style` into checks into those that can run statelessly (linux) and everything else into a new `migration` group which benefit from the full git checkout available on the MacOS runners.
- ci.yml: Move `Check unused dependencies` from style to `linux_tests`
- Add `if: github.repository_owner == 'zed-industries'` to all jobs so they won't try and run on GitHub forks.
noaccOS pushed a commit to noaccOS/zed that referenced this pull request Oct 19, 2024
- Closes: zed-industries#19351
- Switch to using the official [typos GitHub Action](https://github.com/crate-ci/typos/blob/master/docs/github-action.md)
- Move the typos check into `actions/check_style`
- Move Squawk Postgres migration check out of `actions/check_style` file into ci.yml
- `actions/check_style` can now be run on stateless/linux runners (previous required self-hosted MacOS runner)
- ci.yml: Split old `style` into checks into those that can run statelessly (linux) and everything else into a new `migration` group which benefit from the full git checkout available on the MacOS runners.
- ci.yml: Move `Check unused dependencies` from style to `linux_tests`
- Add `if: github.repository_owner == 'zed-industries'` to all jobs so they won't try and run on GitHub forks.
osiewicz pushed a commit that referenced this pull request Oct 22, 2024
- Closes: #19351
- Switch to using the official [typos GitHub Action](https://github.com/crate-ci/typos/blob/master/docs/github-action.md)
- Move the typos check into `actions/check_style`
- Move Squawk Postgres migration check out of `actions/check_style` file into ci.yml
- `actions/check_style` can now be run on stateless/linux runners (previous required self-hosted MacOS runner)
- ci.yml: Split old `style` into checks into those that can run statelessly (linux) and everything else into a new `migration` group which benefit from the full git checkout available on the MacOS runners.
- ci.yml: Move `Check unused dependencies` from style to `linux_tests`
- Add `if: github.repository_owner == 'zed-industries'` to all jobs so they won't try and run on GitHub forks.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed The user has signed the Contributor License Agreement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Run workflows only in the main repository not on forks
2 participants