Skip to content
Discussion options

You must be logged in to vote

Hi @baggiponte, thanks for opening a discussion!

There are a few different parts here:

  1. Each audit has remediations documented in a sub-section of the audit docs. For template-injection for example, the remediation is documented here: https://docs.zizmor.sh/audits/#remediation_18

    Specifically, to answer your question: in your case you would replace ${{ steps.pages.outputs.base_url }} with an environment variable, e.g.:

- name: Build with Hugo
  env:
    HUGO_ENV: production
    BASE_URL: ${{ steps.pages.outputs.base_url}}
  run: |
    hugo ... --baseURL="${BASE_URL}/"
  1. I think it would still be cool to print out the URL to the docs.

    This is printed out, although the fact that people…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@baggiponte
Comment options

@woodruffw
Comment options

Answer selected by baggiponte
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants