Managed by Score

To prevent accidental manual modifications in the Humanitec UI, score-humanitec and workload artefacts automatically add the annotation to managed workloads. The optional annotation can capture the source of the Score workload and can be set in the metadata annotations:

  name: my-workload

The value will be turned into a link inside the Humanitec UI and allows developers to quickly jump to the source of the respective Score file.

The score-humanitec delta command optionally supports a --workload-source-url to override this. If you are using GitHub Actions, your score-humanitec usage could look like:

score-humanitec delta \
  --deploy \
  -f score.yaml \
  --workload-source-url "${{ github.repository }}/blob/${{ github.ref_name }}/score.yaml"