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

Improve server branch selection #1322

Merged
merged 9 commits into from
Dec 12, 2023
Merged

Conversation

PProfizi
Copy link
Contributor

Add standalone_suffix pick job in CI for cases where PR is run by a server-sync action.

@PProfizi PProfizi added the CI/CD Related to CI/CD label Dec 12, 2023
@PProfizi PProfizi self-assigned this Dec 12, 2023
Comment on lines 46 to 52
if [[ ${{ github.event_name == 'push' }} ]]; then
echo "suffix=''" >> "$GITHUB_OUTPUT"
fi
if [[ ${{ github.event_name == 'workflow_dispatch' }} ]]; then
echo "suffix=${{ github.event.inputs.standalone_branch_suffix }}" >> "$GITHUB_OUTPUT"
fi
if [[ ${{ github.event_name == 'pull_request' }} ]]; then
Copy link
Collaborator

Choose a reason for hiding this comment

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

if..elif..else here? As the conditions are mutually exclusive.

Copy link

codecov bot commented Dec 12, 2023

Codecov Report

Merging #1322 (989c314) into master (f7484b5) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1322   +/-   ##
=======================================
  Coverage   86.24%   86.24%           
=======================================
  Files          81       81           
  Lines        9236     9236           
=======================================
  Hits         7966     7966           
  Misses       1270     1270           

@PProfizi PProfizi merged commit 5e3e5e9 into master Dec 12, 2023
37 checks passed
@PProfizi PProfizi deleted the ci/fix_branch_suffix_on_server_sync branch December 12, 2023 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI/CD Related to CI/CD
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants