-
Notifications
You must be signed in to change notification settings - Fork 17
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
Scheduled trigger for the release/2.4 branch #518
Conversation
Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>
JS Code CoverageCoverage after merging cron_job_for_release_branch_nightly into master will be
Coverage Report
|
@@ -30,6 +30,8 @@ jobs: | |||
steps: | |||
- name: Checkout | |||
uses: actions/checkout@v3 | |||
with: | |||
ref: ${{ github.event_name == 'schedule' && 'release/2.4' || 'master' }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will schedule a workflow trigger for release branch POC: https://github.com/SagarGi/ceck-expect-failure/blob/main/.github/workflows/actions.yml. This repo has 2 branch try_cron
and main
the scheduled branch try_cron
has file that is ran while the main
branch do not have it which fails.
Description
Previously the scheduled cron did not trigger the
release/2.4
branch. This PR makes the release branch trigger for the scheduled time. Theworkflow
can only be triggered from the default master branch.Related WorkPackage
https://community.openproject.org/projects/nextcloud-integration/work_packages/50542/activity