Skip to content

Commit

Permalink
Merge pull request #13 from austenstone/austenstone-patch-1
Browse files Browse the repository at this point in the history
Update ci.yml
  • Loading branch information
austenstone authored May 7, 2024
2 parents cb9cbf0 + c1377de commit c7e4410
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 7 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ on:
branches: [ main ]
paths-ignore:
- "**.md"
permissions:
contents: read

jobs:
ci:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,15 @@
# supported CodeQL languages.
#
name: "CodeQL"

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
schedule:
- cron: '33 12 * * 2'
permissions:
contents: read

jobs:
analyze:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/email.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
permissions:
contents: read

jobs:
run:
Expand All @@ -14,7 +16,7 @@ jobs:
with:
organization: ${{ secrets.ORG }}
github-token: ${{ secrets.TOKEN }}
- uses: austenstone/job-summary-to-pdf@main
- uses: austenstone/job-summary-to-pdf@v1.0
id: pdf
with:
name: copilot-usage
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/usage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ on:
push:
pull_request:
workflow_dispatch:
permissions:
contents: read

jobs:
run:
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@ jobs:
name: Run Action
runs-on: ubuntu-latest
steps:
- uses: austenstone/copilot-usage@main
- uses: austenstone/copilot-usage@v3
with:
github-token: ${{ secrets.TOKEN }}
```
## Example get team usage
```yml
- uses: austenstone/copilot-usage@main
- uses: austenstone/copilot-usage@v3
with:
github-token: ${{ secrets.TOKEN }}
organization: 'org-slug'
Expand All @@ -53,7 +53,7 @@ jobs:
## Example get enterprise usage
```yml
- uses: austenstone/copilot-usage@main
- uses: austenstone/copilot-usage@v3
with:
github-token: ${{ secrets.TOKEN }}
enterprise: 'enterprise-slug'
Expand All @@ -75,10 +75,10 @@ jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: austenstone/copilot-usage@main
- uses: austenstone/copilot-usage@v3
with:
github-token: ${{ secrets.TOKEN }}
- uses: austenstone/job-summary-to-pdf@main
- uses: austenstone/job-summary-to-pdf@v1.0
id: pdf
with:
name: copilot-usage
Expand Down

0 comments on commit c7e4410

Please sign in to comment.