Skip to content
Notis

Grant a new repository access to an organization secret

Make secret access part of the repository launch request, so the first workflow does not fail because one selected-repository permission was overlooked.

Trigger

Issue Created Trigger

Triggered when a new issue is created.

Action

Add selected repository to an organization secret

Adds a repository to an organization secret's access list when the secret's visibility is 'selected'; this operation is idempotent.

Why this helps

A newly created repository may be ready for CI but unable to use an organization secret because selected access was forgotten.

  • Prevents avoidable first-run CI failures
  • Makes repository launch setup consistent
  • Uses an idempotent GitHub access operation

Setup

Build it in a few focused steps.

  • 1Connect Linear and GitHub to Notis once.
  • 2Describe which qualifying repository-launch issues should grant the named repository access to the existing organization secret.
  • 3Select the Linear issue created trigger and choose a channel for run reports.
  • 4Test with a repository and a secret configured for selected access.

Questions about this workflow

Does this create or reveal the secret?

No. It only adds a repository to the access list of an existing organization secret.

What visibility must the secret use?

The organization secret must be configured for selected repository access.

When this happens · Trigger

Do this · Action

Supported Triggers and Actions

Notis builds workflows that link Linear to GitHub. A trigger fires from one place; an action lands in another.

Linear triggers

GitHub actions

Recurring trigger

Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.

TriggerScheduled

Accept a repository invitation

Accepts a pending repository invitation that has been issued to the authenticated user.

ActionInstant

Webhook trigger

Notis starts this workflow when an external tool or custom backend sends an HTTP request.

TriggerInstant

List repositories starred by the authenticated user

Deprecated: lists repositories starred by the authenticated user, including star creation timestamps; use 'list repositories starred by the authenticated user' instead.

ActionInstant

Comment Received Trigger

Triggered when a comment is received.

TriggerInstant

List stargazers

Deprecated: lists users who have starred a repository; use `list stargazers` instead.

ActionInstant

Issue Created Trigger

Triggered when a new issue is created.

TriggerInstant

Star a repository for the authenticated user

Deprecated: stars a repository for the authenticated user; use `star a repository for the authenticated user` instead.

ActionInstant

Issue Updated Trigger

Triggered when an issue is updated. For example labels are changed, issue status is changed, etc.

TriggerInstant

Add email for auth user

Adds one or more email addresses (which will be initially unverified) to the authenticated user's github account; use this to associate new emails, noting an email verified for another account will error, while an existing email for the current user is accepted.

ActionInstant

Private Team Comment Created

Fires when a new comment is posted on an issue in a private Linear team (polled with the connected user's token).

TriggerPolling

Add app access restrictions

Replaces github app access restrictions for an existing protected branch; requires a json array of app slugs in the request body, where apps must be installed and have 'contents' write permissions.

ActionInstant

Private Team Issue Created

Fires when a new issue appears in a private Linear team (polled with the connected user's token).

TriggerPolling

Add a repository collaborator

Adds a github user as a repository collaborator, or updates their permission if already a collaborator; `permission` applies to organization-owned repositories (personal ones default to 'push' and ignore this field), and an invitation may be created or permissions updated directly.

ActionInstant

Private Team Issue Properties Updated

Fires when properties on an issue change in a private Linear team (polled with the connected user's token).

TriggerPolling

Add a repository to an app installation

Adds a repository to a github app installation, granting the app access; requires authenticated user to have admin rights for the repository and access to the installation.

ActionInstant

Connect any two apps with Notis in the middle.

Linear and GitHub, or any other combination from 1,000+ integrations.

When this happens · Trigger

Do this · Action

Save your first hour today.

7-day trial of any paid plan, with 20$ of usage included.
No card. Works with personal or business GitHub.