on: release: types: [published] name: test-action jobs: github-releases-to-discord: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v3 - name: Github Releases To Discord uses: ./ # Uses an action in the root directory with: webhook_url: ${{ inputs.WEBHOOK_URL }} color: ${{ inputs.COLOR }} username: ${{ inputs.USERNAME }} avatar_url: ${{ inputs.AVATAR_URL }} custom_html_url: ${{ inputs.CUSTOM_HTML_URL }} content: ${{ inputs.CONTENT }} footer_title: ${{ inputs.FOOTER_TITLE }} footer_icon_url: ${{ inputs.FOOTER_ICON_URL }} footer_timestamp: ${{ inputs.FOOTER_TIMESTAMP }} max_description: ${{ inputs.MAX_DESCRIPTION }} reduce_headings: ${{ inputs.REDUCE_HEADINGS }} remove_github_reference_links: ${{ inputs.REMOVE_GITHUB_REFERENCE_LINKS }}