Created
December 13, 2019 00:45
-
-
Save ethomson/d1756c60ada050a30f86da44bf1e5f29 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Show Popularity | |
on: [push] | |
jobs: | |
build: | |
name: Show Popularity | |
runs-on: ubuntu-latest | |
steps: | |
- name: Show Popularity | |
run: | | |
STARS=$(jq --raw-output .repository.stargazers "${{ github.event_path }}") | |
FORKS=$(jq --raw-output .repository.forks "${{ github.event_path }}") | |
echo "${{ github.repository }} has $STARS stars and $FORKS forks" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment