Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Customizable dashboard for monitoring GitHub Actions workflows across repositories

License

NotificationsYou must be signed in to change notification settings

lincc-frameworks/lf-workflow-dash

Repository files navigation

LF Workflow Dash

viewlink-to-dashlink-to-rail-dashlink-to-rail-dash

LF Workflow Dash is your easy solution for monitoring and managing GitHub Actions workflows.

Track workflows across any number of repositories, check status and other relevant metrics, and quickly modify via yaml, all in one customizable dashboard.

Powered by theGitHub REST API,LF Workflow Dash regularly retrieves data on specified GitHub Actions workflow runs and updates the dashboard HTML. This process is managed through scheduled GitHub workflows, and the output can be hosted easily using GitHub Pages.

Getting Started

Click any of the badges at the top of the README to view a dashboard.

Keep reading to learn about modifying an existing dashboard, or how to build your own dashboard.

Modify the LF Dashboard

  1. Modify the YAML in this repo

    Modifyconfig/tracked_workflows.yaml to customize theLF dashboard. Add or remove repositories and workflows as needed. The format to follow is:

    repos:   -repo:REPO_NAMEowner:OWNER_NAME# github organizationsmoke-test:smoke-test.ymlbuild-docs:build-documentation.ymlbenchmarks:asv-nightly.ymllive-build:testing-and-coverage.ymlother_workflows:# Add more workflows if necessary

    We have columns for these 4 workflows, and the value should be the leaf yamlfile name. If you have additional workflows, you can add them asother_workflows.

  2. Or, submit an Issue

    If you'd like to suggest changes or need assistance with modifying the YAML, feel free to open an issue in this repository. We'll be happy to help!

Make Your Own Dashboard

  1. Fork this Repository

    Feel free to deleterail.html andrail_tracked_workflows.yaml right away.

  2. Modify Your Tracked Workflows

    Follow the instructions inModify the LF Dashboard to make changes to yourtracked_workflows.yaml file.

  3. Activate GitHub Actions

    Fresh forks require manual activation of GitHub Actions. Visit the "Actions" tab in your repository and enable the workflows.

    When enabled, the github workflow.github/workflows/main.yml will run every15 minutes to refresh the status of your dashboard.

  4. Authorization

    GitHub builds: Your personal access token will be automatically generated when running the workflow on GitHub.

    Local builds: To build the HTML locally, run the following command in your repository:

    python update_dashboard.py PERSONAL_ACCESS_TOKEN ./config/tracked_workflows.yaml index.html

    You can generate a personal access token following theseGitHub token generation steps.

    Feel free to replacetracked_workflows.yaml with whatever input yaml you'd like; likewise, replaceindex.html with your desired output path.

  5. Page Title, Favicon, and Footer

    Remember to customize your<title> tag, your favicon, and the footer at the bottom of the page that links to the dashboard's repo.

    Note that these need to be changed intemplates/dash_template.jinja, as any changes made to an HTML file will be overwritten.

  6. GitHub Pages (Optional)

    If you want to host your dashboard on GitHub Pages, you'll need toset up your repository for GitHub Pages.The github action for this repository will put the rendered HTML into agh-pages branch, that should be used for hosting your Pages.

    Alternatively, you can use theGitHub HTML Preview Tool to see your HTML without hosting it yourself.

    For example, here'sLF dashboard via GitHub HTML Preview.

  7. Timezones (Optional)

    We specify timezones for both the commit message timestamp and the dashboard times. If you want a different timezone, update it in bothmain.yml andupdate_dashboard.py.

That's it! You're ready to start monitoring your GitHub Actions workflows with your very own version of the LF dashboard.

Contributing

Contributions are welcome!

If you have ideas for improvements or bug fixes, please feel free to open an issue or submit a pull request.

License

This project is licensed under the MIT License - see theLICENSE file for details.

About

Customizable dashboard for monitoring GitHub Actions workflows across repositories

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp