Skip to content

Commit

Permalink
Add organization parameter to usage.yaml workflow and enterprise, org…
Browse files Browse the repository at this point in the history
…anization, team, and report parameters to action.yml
  • Loading branch information
austenstone committed Apr 23, 2024
1 parent 5f16370 commit f14c90e
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/usage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./
- uses: ./
with:
organization: octodemo
16 changes: 16 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,22 @@ inputs:
description: The GitHub token used to create an authenticated client
default: ${{ github.token }}
required: false
enterprise:
description: The GitHub enterprise slug
required: false
organization:
description: The organization slug
required: false
team:
description: The team slug
required: false
report:
description: Wither to generate a report
required: false
default: true
outputs:
result:
description: The copilot usage as a JSON string

runs:
using: "node20"
Expand Down

0 comments on commit f14c90e

Please sign in to comment.