Files
github-repository-stats-action/.github/workflows/test.yml
julien Lengrand-Lambert f6abfd2740 Feat/referrals (#4)
* Adding referral paths
* Sending stats
2023-09-12 16:47:06 +02:00

29 lines
1007 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@feat/referrals
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@feat/referrals
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 }}"