Closed
Conversation
…x/replace-postman-with-prism
…x/replace-postman-with-prism-payroll
…-in-Java-SDK-to-consume-PRISM-Server-codegen PETOS-560 Adds Content Type for API Calls
…x/replace-postman-with-prism
Replaced Postman Mock Server with PRISM Server and fixed failing test cases - Accounting Related
…x/replace-postman-with-prism-payroll
…ayroll Replaced Postman Mock Server with PRISM Server and fixed failing test cases - Payroll Related
…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
…x/replace-byte-by-binary
…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
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
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
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
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.