Open msarm-1debit opened 3 weeks ago
Can you provide your workflow yml? I believe you're trying to create 2 artifacts with the same name.
# https://github.com/marketplace/actions/copilot-usage-action
name: Copilot Usage Metrics Collector
on:
schedule:
- cron: '0 5 * * 1'
workflow_dispatch:
push:
jobs:
run:
name: Run Action
runs-on: ubuntu-latest
steps:
- uses: austenstone/copilot-usage@v4.2
with:
github-token: ${{ secrets.COPILOT_USAGE_METRICS }}
organization: '<org>'
csv: true
time-zone: 'EST'
Experiencing the same error with this configuration:
name: Copilot Usage Report
on:
schedule:
- cron: '0 0 * * *' # the job will run at midnight every day.
workflow_dispatch:
jobs:
run:
name: Run Action
runs-on: ubuntu-latest
steps:
- uses: austenstone/copilot-usage@v4.1
with:
github-token: ${{ secrets.TOKEN }}
time-zone: 'CET' # IANA time zone identifier https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List
csv: true # Optional flag to output a CSV report
In fact, this configuration also doesn't create a csv file but a json.
Downgrading to v4.0
seems to work as intended.
What happened?
The workflow ran successfully but came with this error.
Relevant log output
Contact Details
No response