Refactor to cut repetition in raise_error's status code handling #2
This file contains 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: Refresh Team Page | |
on: | |
push: | |
branches: [ main ] | |
permissions: {} | |
jobs: | |
build: | |
name: Refresh Contributors Stats | |
runs-on: ubuntu-latest | |
steps: | |
- name: Call GitHub API | |
run: | | |
curl "https://api.github.com/repos/${{ github.repository }}/stats/contributors" |