Skip to content

The-OpenROAD-Project/actions

Repository files navigation

OpenROAD GitHub Actions

This repository contains GitHub Actions for usage with the OpenROAD project's repositories.

This action prevents accidental publishing of private data such as confidential PDK information.

This action clones a GitHub repository using https and the GitHub token.

It uses "tree less" clone so that it can be pushed from while not needing the complete repository contents.

This action pushes to a GitHub repository using ssh with a deploy key (with write access).

Steps for using are;

  1. Generate a new deploy key using the command ssh-keygen -t ed25519 -f deploy_key.

  2. Add the private key output (in file deploy_key) to the repositories GitHub Actions secrets.

  3. Add the public key output (in file deploy_key.pub) to the repositories Deploy Keys making sure to give the key write access.

  4. Add the GitHub Action in your workflow.yml like so;

        - name: Push to staging repository.
          uses: The-OpenROAD-Project/actions/push_to@main
          with:
            owner: The-OpenROAD-Project
            repo: OpenROAD
            branch: main
            deployKey: ${{ secrets.STAGING_DEPLOY_KEY }}

This action deletes a branch from a GitHub repository using ssh with a deploy key (with write access).

Follow the setups in push_to action to set up a deploy key.

Removes a label from a pull request.

After a branch has been pushed to the staging repository, automatically create a pull request from the staging repository to the upstream repository.

After a pull request has been created from the staging repository to the upstream repository, this GitHub Actions creates a deployment linking to the public pull request.

Pulls the upstream repository into the local repository.

The goal of this action is to run a given design through the OpenLane flow using a given tag. Optionally a PR can be created to update a stable tag file stored in the repository. Arguments:

  • ol_tag [optional, default: master]: OpenLane tag. You can set to ol_tag_file to use the value from the file content.
  • update_tag [optional, default: false]: if the test is successful update stable tag pointed by the ol_tag_file input.
  • ol_tag_file [optional, default: .github/openlane-stable-tag]: File where to store stable OpenLane tag. The file must exists before running with this feature.
  • tools_list [optional, default: '']: List of tools to update to the latest version. Multiple values are separated by a space, e.g., "openroad_app magic".

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages