⚡️📌 Update a pinned gist to contain the latest activity of a user
⚡️📌 Update a pinned gist to contain the latest activity of a user
activity-box is a GitHub Action that is designed to work using the
scheduleevent.
gistscope and copy it. The
GITHUB_TOKENthat comes with GitHub Actions cannot currently use the Gist API.
| |
| --- |
Name your repository and click Create repository from template.
| |
| --- |
.github/workflows/activity-box.ymlfile with a workflow like this:
name: Activity Boxon: schedule: - cron: '*/10 * * * *'
jobs: build: runs-on: ubuntu-latest
steps: - uses: actions/[email protected] - uses: JasonEtco/[email protected] env: GH_PAT: ${{ secrets.GH_PAT }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GH_USERNAME: JasonEtco GIST_ID: 123abc
GH_PAT.
Value: The token with the
gistscope generated previously.
💰 Profit
https://gist.github.com/matchai/
6d5f84419863089a167387da62dd7081.
Inspired by matchai/bird-box