GitHub actions#

Here are the GitHub actions we use for our projects. Note that some of them might need modifications. Check the .yml file for details

Test and deploy#

ci.yml

This workflow runs unit tests, checks the project and uploads to PyPI.

ChatOps#

chatops.yml

Implements operations triggered with messages in the GitHub chat.

  • /format: runs pkgmt format

Workflow edits#

workflow-edits.yml

Only passes if .github/workflows/ have not been modified. This workflow is a security measure.

If .github/workflows/ has been modified, a mantainer needs to add the allow-workflow-edits label to the PR and the contributor must push again.

git commit --allow-empty -m 'trigger workflows'

How to add allow-workflow-edits label#

In the PR, check the label area of right side, select allow-workflow-edits label

example