79491312

Date: 2025-03-07 05:09:08
Score: 1
Natty:
Report link

The "Update 2023: The current method for getting the current job name:" method does not work if attempting to set an environment variable in a reusable workflow like the following:

jobs:
  deploy:
    name: Deploy job
    env:
      DD_GITHUB_JOB_NAME: ${{ github.jobs[github.job].name }}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: ic_