Skip to content

Commit

Permalink
Create action for license info
Browse files Browse the repository at this point in the history
  • Loading branch information
slim71 authored Jul 16, 2024
1 parent 00823a4 commit 98ba3d9
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: License Info
on:
workflow_dispatch:
jobs:
license-info:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: License analysis
uses: lowlighter/metrics@latest
with:
filename: license_info.svg
token: ${{ secrets.METRICS_TOKEN }}
# Options
user: slim71
config_timezone: Europe/Rome
# Plugin configuration
base: ""
template: repository
repo: metrics
plugin_licenses: yes
plugin_licenses_legal: yes
# What to do at each run
output_action: commit
committer_branch: metrics
committer_message: "Updating License Info render"
# Rendering is subject to external factors and can fail occasionally
retries: 3
retries_delay: 300
# Output action is also subject to GitHub API rate-limiting and overall health status and can fail occasionally
retries_output_action: 5
retries_delay_output_action: 120

0 comments on commit 98ba3d9

Please sign in to comment.