Skip to content

Deploy failed action on PR from a forked repository #19

@marcalexiei

Description

@marcalexiei

I'm opening an issue to avoid posting off topic content on #17 and because I have the same error on #18

Regarding #17 (review)

Deploy to Firebase Hosting on PR workflow failed with an error:

Input required and not supplied: firebaseServiceAccount

I think the error cause is that Github does not provide secrets when a PR is opened from a forked repository:

If you go on https://github.com/OWNER/REPO/settings/secrets/actions
On the second paragraph it says:

Anyone with collaborator access to this repository can use these secrets and variables for actions.
They are not passed to workflows that are triggered by a pull request from a fork.

There is also a opened issue about this problem on Firebase action-hosting-deploy repository:
FirebaseExtended/action-hosting-deploy#337


Right now I'm unable to find an alternative solution 😫

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions