Unofficial A Github action to post to news.ycombinator.com
Uses @lukakerr's hkn go module to login and post to HN
As a reminder, read through HN's submission guidelines to confirm your integration adheres
Do not store your login credentials directly in your workflow file. Store them in an encrypted, secure manner.
EG: Github secrets: Settings > Secrets > Actions
Required The hackernews username you want to post as. Set this in your repository secrets
Required The password for the hackernews user. Set this in your repository secrets
The title as it will be displayed on news.ycombinator.com.
The URL to post to HN.
uses: higgins/[email protected]
with:
HN_USERNAME: ${{ secrets.HN_USERNAME }}
HN_PASSWORD: ${{ secrets.HN_PASSWORD }}
POST_TITLE: "A clock where every second is user submitted content"
POST_URL: https://24HourHomepage.com