Closed libialany closed 4 months ago
@libialany thanks for the update. In case another update is required after my review please to keep working on this PR and please do not create a new one again. Thanks.
I have corrected the errors I had. Could you please review it?, improved
I have corrected the errors I had.improved version. Thank you very much for the link. I didn't apply a test job because I believe the tests are fully covered with test.yml. Could you please review it?,
FYI I created a PR to fix the tests at https://github.com/mozilla/mozdownload/pull/692.
Thank you!. I have improved the release.yml and attempted to integrate the test.yml
workflow:
workflow_run:
workflows: [ Test ] # Name of the test.yml workflow
types: [ completed ] # Trigger when the test workflow completes
branches: [ master ] # Run in the master branch; the branch must be the default branch (if you specify a branch that isn't the default, it will never run)
I also added a condition to the deploy job to check if the completed test workflow was successful:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
I will learn more about testing in GitHub Actions and will review the documentation at #692. link resources: branches work_on
Fixes https://github.com/mozilla/mozdownload/issues/669.
Thank you for reviewing my latest pull request, and I've made improvements in the following ways:
pypa/gh-action-pypi-publish@release/v1
accepts either a password or PyPI token. Utilize the token instead of the user's password also i change the variable name topypi_token
.actions/setup-python@v5
, I've set it to '3.11.9', aligning with the available Python versions for that GitHub Action.