github action cannot use action from private repo

Viewed 2011

I have a paid github org.

We have a series of private repos - and along with that we need to use actions which are also held in private repos.

here is a simple example:

name: FE Main - Commit received
on:
  - push

jobs:
  deploy:
    runs-on: ubuntu-latest
    steps:
      - uses: org-com/ghaction-slack-notification@v1
        with:
          slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}
        if: always()

The action is using the action from within the org, however unless i make:

org-com/ghaction-slack-notification

public.. then the actions fail as the tar cannot be loaded due to permissions.

The error is something like:


An action could not be found at the URI 'https://api.github.com/repos/org-com/ghaction-slack-notification/tarball/a5e91154adf6c4b628576352f8788ae4c203c02b'

How can i run an action that uses an action in private repo?

2 Answers

It looks like GitHub actions for private repo's isn't made available yet :'(

Hopefully it will be sometime this year!

P.S. I've also tried to run GitHub actions in my private repo, but I"m getting this error: Workflows can't be executed on this repository. Please check your payment method or billing status.

Related