Skip to content

Automating SDK generation process #171

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
wants to merge 50 commits into
base: master
Choose a base branch
from

Conversation

Raghunath-S-S-J
Copy link
Contributor

No description provided.

Vignesh Kennadi and others added 30 commits September 26, 2024 15:52
…ter-manual-release-from-GitHub

Petoss 534 publish python sdk after manual release from GitHub
…s-checks

PETOSS 517 | Python vulnerabilities Check
…-API-Key-with-the-shared-user-API-Key-for-all-the-publish-job

Petoss 604 replace test instance api key with the shared user api key for all the publish job
@Raghunath-S-S-J Raghunath-S-S-J changed the title Feature/sdk automation Automating SDK generation process Feb 4, 2025
Comment on lines +57 to +79
runs-on: ubuntu-latest
needs: publish
if: success()
steps:
- name: Checkout xero-pythonrepo
uses: actions/checkout@v4
with:
repository: XeroAPI/xero-python
path: xero-python

- name: Send slack notification on success
uses: ./xero-python/.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 +80 to +100
runs-on: ubuntu-latest
needs: publish
if: failure()
steps:
- name: Checkout xero-python repo
uses: actions/checkout@v4
with:
repository: XeroAPI/xero-python
path: xero-python

- name: Send slack notification on failure
uses: ./xero-python/.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.

3 participants