GitHub Actions API Enters Public Beta
Written by Kay Ewbank   
Thursday, 05 March 2020

An API for GitHub Actions has been released in a public beta. The Actions API provides a way to manage GitHub Actions via a REST API, with facilities for handling workflows, repository secrets, artifacts, and self-hosted runners.

GitHub Actions is designed to help developers build, share and execute code directly on the site. It is designed to cut down on the steps necessary to execute code. The Actions team say when they first shipped it, they knew a key feature was missing for platforms, an API.

githubdeklogo

The API can be used to read workflow run and job data, and lets you find out about information including outcome, conclusion, and timing using the workflow run and job API. There's also a secrets API that can be used to automate secret management on your repositories. This is designed for teams with a large volume of repositories to provide a way to implement best practices like secret rotation and to write integrations that automatically provision secrets.To ensure that secrets are kept secure, the API doesn’t return any values, only names, and the secrets have to be encrypted with a public key before setting them, which means they’re never logged in the GitHub infrastructure.

An artifacts API is also part of the beta. This can be used to download an archive of an artifact from a workflow. Support for working with self-hosted runners is also included, meaning you can run Actions on your own hardware. Until recently, these runners had to be manually set up individually. With the API, developers can automate the registration and removal of their runners by creating registration tokens and passing them to the runner configuration script.

The Actions API is  API is available on GitHub for authenticated users, OAuth Apps, and GitHub Apps.

githubactions

More Information

GitHub Actions

GitHub Actions API

Related Articles

GitHub Launches Actions

GitHub Updates Issues Picker

GitHub Adds New Code Security Features

GitHub For Unity Now Available

GitHub Security Alerts For Python

Microsoft Buys GitHub - Get Ready For a Bigger Devil

 

 

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.

Banner


Microsoft Introduces Vector Abstractions Library For .NET
21/11/2024

Microsoft has announced a preview release of the Microsoft Extensions VectorData Abstractions library, which can be used to help integrate vector stores into .NET applications and libraries.



Looking Forward To NAO 7
03/11/2024

Introduced to the world in 2004 by its creator Bruno Maisonnier the kid-sized, autonomous humanoid robot NAO, turns 20 this year. At less than 2 ft tall, it is small in stature, but plays a big r [ ... ]


More News

{laodposition comment}