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

Create a GitHub action to create a release #821

Merged
merged 2 commits into from
Sep 30, 2024

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Sep 29, 2024

This should replace the script that I have locally to test swift-format for a release and at the same time expand the configurations that are being tested.

A sample run can be seen here: https://github.com/ahoppen/swift-format/actions/runs/11089874502

This should replace the script that I have locally to test swift-format for a release and at the same time expand the configurations that are being tested.
runs-on: ubuntu-latest
steps:
- run: |
if [[ "${{ github.triggering_actor }}" != "ahoppen" ]]; then
Copy link
Member

@shahmishal shahmishal Sep 30, 2024

Choose a reason for hiding this comment

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

We should create a team for swift-format release, so it's not blocked on one person.

Copy link
Member Author

Choose a reason for hiding this comment

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

My thought was that it’s pretty easy to modify the workflow to shift responsibilities. That way the responsibility transfer is explicit.

Copy link
Member

@shahmishal shahmishal left a comment

Choose a reason for hiding this comment

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

Overall looks good, just one suggestion on using team to avoid being blocked on one person. You might want to add @bnbarham.

@ahoppen ahoppen merged commit 8cb684e into swiftlang:main Sep 30, 2024
6 checks passed
@ahoppen ahoppen deleted the release-action branch September 30, 2024 15:11
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.

3 participants