google-github-actions / deploy-cloud-functions

A GitHub Action that deploys source code to Google Cloud Functions.

Home Page:https://cloud.google.com/functions

Repository from Github https://github.comgoogle-github-actions/deploy-cloud-functionsRepository from Github https://github.comgoogle-github-actions/deploy-cloud-functions

Option for allowing unauthenticated requests

aflmp opened this issue · comments

commented

Hi there,
Is there an option for allowing unauthenticated requests to the cloud-function just like https://cloud.google.com/sdk/gcloud/reference/functions/deploy#--[no-]allow-unauthenticated ? I'm only seeing authenticated requests being allowed right now, below is the config that i'm using

- id: deploy
      uses: google-github-actions/deploy-cloud-functions@v1
      with:
        name: some-function
        runtime: go121

@aflmp I think it that using the option:

ingress_settings: ALLOW_ALL will do that.

Try updating your settings as follows:

- id: deploy
      uses: google-github-actions/deploy-cloud-functions@v1
      with:
        name: some-function
        runtime: go121
        ingress_settings: ALLOW_ALL