mirror of
https://github.com/jlengrand/github-repository-stats-action.git
synced 2026-03-10 15:49:58 +00:00
29 lines
987 B
YAML
29 lines
987 B
YAML
on: [push]
|
|
|
|
jobs:
|
|
hello_world_job:
|
|
runs-on: ubuntu-latest
|
|
name: Grabbing latest statistics from the repository
|
|
steps:
|
|
- name: Grabbing repo stats
|
|
id: hello
|
|
uses: /jlengrand/github-repository-stats-action@main
|
|
with:
|
|
access-token: ${{ secrets.ACCESS_TOKEN }}
|
|
server-url: ${{ secrets.SERVER_URL }}
|
|
- name: Grabbing repo stats output
|
|
run: echo "The payload is ${{ steps.hello.outputs.payload }}"
|
|
hello_world_job_custom_repo:
|
|
runs-on: ubuntu-latest
|
|
name: Grabbing latest statistics from the repository
|
|
steps:
|
|
- name: Grabbing repo stats
|
|
id: hello_custom
|
|
uses: /jlengrand/github-repository-stats-action@main
|
|
with:
|
|
access-token: ${{ secrets.ACCESS_TOKEN }}
|
|
server-url: ${{ secrets.SERVER_URL }}
|
|
repository: jlengrand/swacli
|
|
- name: Grabbing repo stats output
|
|
run: echo "The payload is ${{ steps.hello_custom.outputs.payload }}"
|