Tony Kim
Sep 19, 2025 03:46

GitHub introduces YAML anchors in Actions, enabling configuration reuse. Non-public workflow templates are now supported, enhancing development efficiency.



GitHub Enhances Actions with YAML Anchors and Private Workflow Templates

GitHub has announced significant updates to its Actions feature, including the introduction of YAML anchors and the ability to use workflow templates from non-public repositories, according to The GitHub Blog. These updates are set to enhance the flexibility and efficiency of developers using GitHub Actions.

Introduction of YAML Anchors

YAML anchors, a highly requested feature by the GitHub community, are now supported in GitHub Actions. This addition allows for the reuse of configuration across multiple workflows, ensuring better adherence to the YAML specification. By employing YAML anchors, developers can streamline their workflow configurations, reducing redundancy and potential errors. The feature is automatically enabled for all users and repositories on GitHub Actions.

Support for Non-Public Workflow Templates

In a move to enhance organizational efficiency, GitHub now allows the use of workflow templates from non-public repositories. These templates can be stored in a special repository named .github, which can be either private or internal. If the repository is internal, both internal and private repositories can utilize these templates. This new feature is designed to speed up development processes by providing a centralized location for workflow templates, which can be crucial for large organizations with complex development needs.

Job Identification with Check Run ID

Additionally, GitHub has introduced the check_run_id in the job context for Actions workflows. This update allows developers to directly identify the currently running job by accessing job.check_run_id. The inclusion of this feature simplifies tasks such as reporting, sending notifications, and uploading artifacts linked to specific jobs, thereby enhancing the overall user experience for GitHub Actions users.

These updates are part of GitHub’s ongoing efforts to improve the functionality and user experience of its platform, particularly for developers who rely on automation and streamlined workflows. The community is encouraged to participate in discussions about these changes on the GitHub Community.

Image source: Shutterstock

WE WANT YOU!

are you a developer?

  • Proven International Track Record
  • Vertically Integrated Federal Funds
  • Vertically Integrated Tax Credits
  • Vertically Integrated Investors
  • Vertically Integrated Lenders
  • Vertically Integrated Contractors