Skip to content

Can't figure out how to use the action #161

Locked Answered by LFGaming
LFGaming asked this question in Q&A
Discussion options

You must be logged in to vote

Edit:
I now used the website to make the action code.
I used this:

name: Metrics
on:
  # Schedule updates (each hour)
  schedule: [{cron: "0 * * * *"}]
  # Lines below let you run workflow manually and on each commit
  push: {branches: ["master", "main"]}
  workflow_dispatch:
jobs:
  github-metrics:
    runs-on: ubuntu-latest
    steps:
      - uses: lowlighter/metrics@latest
        with:
          # Your GitHub token
          token: ${{ secrets.METRICS_TOKEN }}
          # GITHUB_TOKEN is a special auto-generated token restricted to current repository, which is used to push files in it
          committer_token: ${{ secrets.GITHUB_TOKEN }}

          # Options
          user: LFGaming
…

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@lowlighter
Comment options

@LFGaming
Comment options

@lowlighter
Comment options

@LFGaming
Comment options

@lowlighter
Comment options

Answer selected by lowlighter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment