Files
Julien Lengrand-Lambert 1cca78a338 Moving to main
2024-09-09 11:06:15 +02:00

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 }}"