-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathaction.yml
More file actions
27 lines (24 loc) · 750 Bytes
/
Copy pathaction.yml
File metadata and controls
27 lines (24 loc) · 750 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
name: github-api-usage-monitor
description: Monitor GitHub API rate-limit usage during a job by polling /rate_limit.
author: 'Really Him'
branding:
icon: activity
color: gray-dark
inputs:
token:
description: 'GitHub token (defaults to GITHUB_TOKEN)'
required: false
default: ${{ github.token }}
diagnostics:
description: 'Enable diagnostics logging and artifact upload (state.json + poll-log.json)'
required: false
default: 'false'
artifact_name:
description: 'Override diagnostics artifact name (only used when diagnostics enabled; defaults to github-api-usage-monitor-${GITHUB_JOB})'
required: false
runs:
using: node24
pre: dist/pre.js
main: dist/main.js
post: dist/post.js
post-if: always()