#github-actions (2021-11)

Discussions related to GitHub Actions

2021-11-09

Darren Cunningham avatar
Darren Cunningham

I’m going to guess that your secrets are being stripped from the python3 scripts/pipeline/upload_file_to_s3.py ... command and therefore missing args. You probably want to use environment variables that are set from secrets rather than just index based args…but again, just a guess

2021-11-22

Aleksic avatar
Aleksic

Hey, does anyone have experience with reusing github actions/workflows on multiple private repositories in a microservice architecture and would like to maybe share how you are doing it or some possible solutions? The most important things are:

• Repo containing the reusable actions/workflows needs to be private.

• Service repos should reference the reusable actions/workflows repo (not distribute workflows) So far I have tested out: Reusable workflows: would be very nice but it requires the reusable workflow repo to be public or internal (we don’t have enterprise github) Composite actions: works but some requires some additional checkout boilerplate when referencing a private repo.

Darren Cunningham avatar
Darren Cunningham
Actions: Reusable workflows · Issue #98 · github/roadmapattachment image

Summary This feature enables you to reuse an entire workflow as if it were an action. Instead of copying and pasting workflow definitions across repositories, you can reference an existing workflow…

Darren Cunningham avatar
Darren Cunningham

it supposed to be this quarter (but was already bumped from Q1 -> Q2 -> Q3 -> Q4, so might be bumped again)

Aleksic avatar
Aleksic

@Darren Cunningham but its out in beta right?

Darren Cunningham avatar
Darren Cunningham

news to me if so, but very well could be

Darren Cunningham avatar
Darren Cunningham

oh the first link you provided

Aleksic avatar
Aleksic

Did test it out here the other day, works well if the workflows are in a public repo

1
Darren Cunningham avatar
Darren Cunningham

the example at the bottom looks like it would work with a private repo

Darren Cunningham avatar
Darren Cunningham

I’m assuming that because it’s passing the secret token

Aleksic avatar
Aleksic

I think that’s just passing in a secret token, not necessarily a github token.

Aleksic avatar
Aleksic
Darren Cunningham avatar
Darren Cunningham

that’s weak

Aleksic avatar
Aleksic

1000 %

Darren Cunningham avatar
Darren Cunningham

I’m hoping that’s just limitations of the beta because that doesn’t sound like it’s adding any value in it’s current state

    keyboard_arrow_up