-
Notifications
You must be signed in to change notification settings - Fork 1
DO-1952: Added AEM Sync to Cloudmanager repo github workflow: #43
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
base: main
Are you sure you want to change the base?
DO-1952: Added AEM Sync to Cloudmanager repo github workflow: #43
Conversation
TheOrangePuff
left a comment
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.
Couple changes 🙂
| inputs: | ||
| # Build Configuration | ||
| skip-tests: | ||
| description: "Skip Maven test execution" |
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.
IMO this should be the other way round, it's a double negative when written like this. Should be:
description: "Maven test execution"
required: false
default: true
Same with the skip build
|
|
||
| steps: | ||
| - name: Checkout code | ||
| uses: actions/checkout@v4 |
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 can be upgraded to v5 now 🙂
| runs-on: ubuntu-latest | ||
| needs: [run-tests] | ||
| if: | | ||
| always() && |
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.
Maybe I'm misunderstanding always() but what's the point of this? 😅 Is this not the equivalent of running if true && condition?
| git config --global --add safe.directory $GITHUB_WORKSPACE | ||
| echo "✅ Git configuration complete" | ||
|
|
||
| - name: Validate required secrets |
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 could happen in a predeploy step to verify these exist, then we can fail early.
Description of the proposed changes
Screenshots (if applicable)
Test Workflow config

Command for running:
act push --workflows .github/workflows/test-aem-sync.yml -qLocal testing of workflows. Was able to test the Tests and Build, but not repo sync.
This is expected

Notes to PR author
Notes to reviewers
ℹ️ When you've finished leaving feedback, please add a final comment to the PR tagging the author, letting them know that you have finished leaving feedback