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] Prepare workflow for argilla-v1 - 1.29.0 #5032

Merged
merged 11 commits into from
Jun 17, 2024

Conversation

frascuchon
Copy link
Member

@frascuchon frascuchon commented Jun 14, 2024

This PR reviews the argilla-v1 release job and modifies the execution conditions. In general (and this will apply to all the projects):

  • Each project will release when merging changes to main (if paths config detects project changes)
  • The project release won't create a repo status. This tag must be created from the main branch.

@frascuchon frascuchon changed the title [RELEASE] argilla-vi - 1.29.0 [RELEASE] argilla-v1 - 1.29.0 Jun 14, 2024
@frascuchon frascuchon requested a review from jfcalvo June 14, 2024 14:07
@frascuchon frascuchon changed the title [RELEASE] argilla-v1 - 1.29.0 [CI] Prepare workflows for argilla-v1 - 1.29.0 Jun 17, 2024
@@ -16,6 +15,7 @@ on:
- develop
- feat/**
- releases/**
- releases/stable # This is for tests purposes
Copy link
Member Author

Choose a reason for hiding this comment

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

This line will be removed.

@@ -102,37 +102,56 @@ jobs:
publish_release:
name: Publish Release
runs-on: ubuntu-latest
if: ${{ github.event_name == 'release' }}
if: github.ref == 'refs/heads/releases/stable' || ${{ github.event_name }} == 'workflow_dispatch'
Copy link
Member Author

Choose a reason for hiding this comment

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

The final version will check the main branch.

Suggested change
if: github.ref == 'refs/heads/releases/stable' || ${{ github.event_name }} == 'workflow_dispatch'
if: github.ref == 'refs/heads/main' || ${{ github.event_name }} == 'workflow_dispatch'

@frascuchon frascuchon changed the title [CI] Prepare workflows for argilla-v1 - 1.29.0 [CI] Prepare workflow for argilla-v1 - 1.29.0 Jun 17, 2024
@frascuchon frascuchon merged commit a3715c7 into releases/2.0.0-alpha0 Jun 17, 2024
3 checks passed
@frascuchon frascuchon deleted the releases/argilla-v1/1.29.0 branch June 17, 2024 12:07
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.

2 participants