Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow header and footer to be passed as input #1142

Merged
merged 2 commits into from May 11, 2022
Merged

allow header and footer to be passed as input #1142

merged 2 commits into from May 11, 2022

Conversation

jetersen
Copy link
Member

@jetersen jetersen commented May 11, 2022

Add header and footer via action. Which allows for GitHub template variables.

    steps:
      - name: Release Drafter
        uses: release-drafter/release-drafter@v5
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        with:
          header: "Hello"
          footer: "World"

Inside the header you could use GitHub template variables header like: Hello ${{ inputs.name }}

@jetersen jetersen added the type: feature New feature or request label May 11, 2022
@jetersen jetersen merged commit d481987 into release-drafter:master May 11, 2022
@jetersen jetersen deleted the fix/headerfooterfrominput branch May 11, 2022 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant