Skip to content
This repository has been archived by the owner on Apr 5, 2021. It is now read-only.

Can workflow_run allow the use of GITHUB_TOKEN? #45

Open
paride opened this issue Sep 2, 2020 · 3 comments
Open

Can workflow_run allow the use of GITHUB_TOKEN? #45

paride opened this issue Sep 2, 2020 · 3 comments

Comments

@paride
Copy link

paride commented Sep 2, 2020

Hi, I was wondering if the new workflow_run (https://docs.github.com/en/actions/reference/events-that-trigger-workflows#workflow_run) can be used to (reverse-)trigger one workflow from another, thus allowing the use of secrets.GITHUB_TOKEN.

@paride paride changed the title Can workflow_run allow the use of GITHUB_TOKEN Can workflow_run allow the use of GITHUB_TOKEN? Sep 2, 2020
@tibdex
Copy link
Owner

tibdex commented Sep 5, 2020

Hi Paride, it could work indeed. Are you willing to take some time to fork this action and see if that's the case?

@paride
Copy link
Author

paride commented Sep 10, 2020

Hi, I'll do some tests and comment back.

@paride
Copy link
Author

paride commented Sep 23, 2020

I realistically won't have much time for this in the short term, and parts of this action are outside of my comfort zone (TypeScript). I still plan to get to it eventually, but for the moment if anybody wants to step in, please do!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants