Files
github-repository-stats-action/.github/workflows/test.yml
Julien Lengrand-Lambert 4e7fd41636 Bouya
2024-09-10 15:40:51 +02:00

30 lines
1018 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/detect-failure
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/detect-failure
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 }}"