Skip to content

Update github action versions #75

Merged
Moustachauve merged 4 commits intomainfrom
gh-actions
Mar 23, 2026
Merged

Update github action versions #75
Moustachauve merged 4 commits intomainfrom
gh-actions

Conversation

@Moustachauve
Copy link
Owner

No description provided.

Add repository automation and governance files: Dependabot config to auto-update GitHub Actions weekly targeting the dev branch; Release Drafter template and workflow to draft release notes from dev and categorize PRs; a Check workflow that runs xcodebuild unit tests and SwiftLint on macOS runners; a .swiftlint.yml with lint rules; and CODE_OF_CONDUCT.md and CONTRIBUTING.md to document community standards and branching/PR guidance.
Upgrade the test job to macos-26 and run unit tests on the iPhone 17 simulator. Improve SwiftLint step to fetch full history (fetch-depth: 0) and lint only changed .swift files against the PR base branch to reduce runtime. Re-enable force_cast and force_try rules by removing them from the disabled list in .swiftlint.yml so these usages will be flagged.
@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request focuses on improving the project's infrastructure and community guidelines. It automates dependency management and release processes, enforces code quality standards, provides clear contribution guidelines, and establishes a code of conduct to foster a positive community environment.

Highlights

  • GitHub Actions Automation: This PR introduces automated workflows for dependency updates and release drafting using GitHub Actions.
  • Code Quality Enforcement: It incorporates SwiftLint configuration to maintain code style and conventions.
  • Contribution Guidelines: The PR adds comprehensive contributing guidelines, including branching strategy, code quality, and pull request labeling.
  • Community Standards: A Code of Conduct is introduced to ensure a welcoming, diverse, inclusive, and healthy community.
Ignored Files
  • Ignored by pattern: .github/workflows/** (2)
    • .github/workflows/check.yml
    • .github/workflows/release-drafter.yml
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request introduces several configuration files for GitHub Actions, Dependabot, Release Drafter, and SwiftLint, along with contribution guidelines. The setup is a great step towards automating project maintenance. My review includes a couple of suggestions to refine the release drafter and SwiftLint configurations for better robustness and code quality enforcement.

I am having trouble creating individual review comments. Click here to see my feedback.

.github/release-drafter.yml (1-2)

medium

Using $NEXT_PATCH_VERSION for name-template and tag-template will not correctly reflect version bumps for minor or major changes. According to the release-drafter documentation, it's recommended to use $NEXT_VERSION, which will automatically resolve to the correct version string (e.g., v1.2.0 or v2.0.0) based on the labels of the merged pull requests.

name-template: 'v$NEXT_VERSION'
tag-template: 'v$NEXT_VERSION'

.swiftlint.yml (16-22)

medium

Disabling fundamental linting rules like trailing_whitespace, line_length, and identifier_name can lead to inconsistent code style and reduce maintainability. It's highly recommended to keep these rules enabled, especially for a new project. If the default settings are too restrictive, you can configure them instead of disabling them. For example, you can increase the allowed line_length.

disabled_rules:
  - line_length
  - identifier_name
  - type_name
  - function_body_length
  - file_length

@Moustachauve Moustachauve changed the title Gh actions Update github action versions Mar 23, 2026
@Moustachauve Moustachauve merged commit 622f2b3 into main Mar 23, 2026
2 of 3 checks passed
@Moustachauve Moustachauve deleted the gh-actions branch March 23, 2026 05:41
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.

1 participant