paritytech-actions / github-actions-requests

This repository is meant to hold the setup for requesting actions to be used internally
MIT License
0 stars 0 forks source link

GitHub Actions Requests

This repository is meant to hold the setup for requesting actions to be used internally in paritytech organization

Process description

  1. User creates a new issue in this repo
  2. The review team gets a notification about the new issue (using this action: issue-comment-tag)
  3. After manual review, the review team labels the issue with security-check
  4. The workflow Issue labeled security scan is triggered. It will fork requested GHA to the paritytech-actions-sandbox org and execute several automated checks, enables dependabot-alerts
  5. The results of all the checks are added back into the request issue
  6. Info dependabot-alerts warnings, can be retrieved by labelling issue with load-dependabot-alerts. GitHub needs some time to create report after alerts enabled at step 4. Link to its findings will be posted to the issue
  7. After reviewing the results and approving them, final-signoff tag applied and GHA will get forked to the main paritytech organization and becomes available for use.

Checks

Currently we run the following checks:

Configuration

For configuration of the workflows in this repository, we use the following secrets:

Name Example value Description
ACTIONS_STEP_DEBUG true Get additional debugging logs in Actions
GH_TOKEN ghp_***** GitHub Token with enough access to fork the repos into a specific org
These are the secrets that it uses: Name Example value Description
PROJECT_ACCOUNT paritytech-actions Account name under which the project is linked to
PROJECT_NUMBER 1 The number of the project
PROJECT_TOKEN ghp_***** A token with access to add issues to the project