-
Notifications
You must be signed in to change notification settings - Fork 89
Automating SDK generation process #398
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
Open
Raghunath-S-S-J
wants to merge
61
commits into
master
Choose a base branch
from
feature/sdk-automation
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
+4,531
−8,661
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading status checks…
Loading status checks…
…x/replace-postman-with-prism
…x/replace-postman-with-prism-payroll
Loading status checks…
…-in-Java-SDK-to-consume-PRISM-Server-codegen PETOS-560 Adds Content Type for API Calls
Loading status checks…
…x/replace-postman-with-prism
Loading status checks…
Replaced Postman Mock Server with PRISM Server and fixed failing test cases - Accounting Related
Loading status checks…
…x/replace-postman-with-prism-payroll
Loading status checks…
…ayroll Replaced Postman Mock Server with PRISM Server and fixed failing test cases - Payroll Related
Loading status checks…
…r-manual-release-from-GitHub Petoss 533 publish java sdk after manual release from GitHub
Loading status checks…
…ilities-and-update-dependent-packages-for-Java Petoss 516 find package vulnerabilities and update dependent packages for java
ci: Added the slack alert code
Loading status checks…
…d-SDK-Repos
Loading status checks…
…x/replace-byte-by-binary
Loading status checks…
…ode-Gen-and-SDK-Repos Petoss 585 enable test step in code gen and sdk repos
Loading status checks…
Replaced byte content type by binary for octet-stream
Comment on lines
+61
to
+83
runs-on: ubuntu-latest | ||
needs: publish | ||
if: success() | ||
steps: | ||
- name: Checkout Xero-Java repo | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: XeroAPI/Xero-Java | ||
path: Xero-Java | ||
|
||
- name: Send slack notification on success | ||
uses: ./Xero-Java/.github/actions/notify-slack | ||
with: | ||
heading_text: "Publish job has succeeded !" | ||
alert_type: "thumbsup" | ||
job_status: "Success" | ||
XERO_SLACK_WEBHOOK_URL: ${{secrets.XERO_SLACK_WEBHOOK_URL}} | ||
job_url: "https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}" | ||
button_type: "primary" | ||
package_version: ${{needs.publish.outputs.release_number}} | ||
repo_link: ${{github.server_url}}/${{github.repository}} | ||
|
||
notify-slack-on-failure: |
Check warning
Code scanning / CodeQL
Workflow does not contain permissions Medium
Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}
Comment on lines
+84
to
+104
runs-on: ubuntu-latest | ||
needs: publish | ||
if: failure() | ||
steps: | ||
- name: Checkout Xero-Java repo | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: XeroAPI/Xero-Java | ||
path: Xero-Java | ||
|
||
- name: Send slack notification on failure | ||
uses: ./Xero-Java/.github/actions/notify-slack | ||
with: | ||
heading_text: "Publish job has failed !" | ||
alert_type: "alert" | ||
job_status: "Failed" | ||
XERO_SLACK_WEBHOOK_URL: ${{secrets.XERO_SLACK_WEBHOOK_URL}} | ||
job_url: "https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}" | ||
button_type: "danger" | ||
package_version: ${{needs.publish.outputs.release_number}} | ||
repo_link: ${{github.server_url}}/${{github.repository}} |
Check warning
Code scanning / CodeQL
Workflow does not contain permissions Medium
Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.