Skip to content

Conversation

@Raghunath-S-S-J
Copy link
Contributor

No description provided.

Vignesh Kennadi and others added 30 commits September 13, 2024 12:43
…-in-Java-SDK-to-consume-PRISM-Server-codegen

PETOS-560 Adds Content Type for API Calls
Replaced Postman Mock Server with PRISM Server and fixed failing test cases - Accounting Related
…ayroll

Replaced Postman Mock Server with PRISM Server and fixed failing test cases - Payroll Related
Vignesh Kennadi and others added 25 commits September 30, 2024 15:25
…r-manual-release-from-GitHub

Petoss 533 publish java sdk after manual release from GitHub
…ilities-and-update-dependent-packages-for-Java

Petoss 516 find package vulnerabilities and update dependent packages for java
ci: Added the slack alert code
…ode-Gen-and-SDK-Repos

Petoss 585 enable test step in code gen and sdk repos
Replaced byte content type by binary for octet-stream
@Raghunath-S-S-J Raghunath-S-S-J changed the title Feature/sdk automation Automating SDK generation process Feb 4, 2025
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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants