npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

myswan26

v3.2.6

Published

This repository contains a GitHub Actions workflow that automatically updates a file named `TIMESTAMP.txt` with the current date and time every 12 hours. This README provides a detailed overview of how the workflow operates and guides you through customiz

Downloads

151

Readme

Automated-Commit

This repository contains a GitHub Actions workflow that automatically updates a file named TIMESTAMP.txt with the current date and time every 12 hours. This README provides a detailed overview of how the workflow operates and guides you through customizing and using it, especially if you're new to GitHub or GitHub Actions.

Overview

The Automated-Commit workflow demonstrates the capabilities of GitHub Actions for automating routine tasks within a repository. Specifically, this workflow:

  • Checks out the latest code from the master branch.
  • Updates the TIMESTAMP.txt file with the current date and time.
  • Commits the change to the repository if any modifications are detected.
  • Pushes the changes back to the master branch.

Workflow Structure

The workflow is defined in the .github/workflows/master.yml file and includes:

  • Triggers: Configured to run every 12 hours and can be manually triggered via the GitHub UI with the workflow_dispatch event.
  • Jobs and Steps: Contains a job update_commit that runs on the latest Ubuntu runner, performing tasks such as setting up Git, updating TIMESTAMP.txt, and committing and pushing changes.
  • Permissions: Granted write permissions to the repository contents.

Using This Workflow

Creating Your Own Version

To create your own version of this repository and workflow:

  1. Click the "Use this template" button on the GitHub repository page.
  2. Choose a name for your new repository and select "Create repository from template".
  3. Clone your new repository to make further customizations locally.

Customizing the Workflow

Before using the workflow, you'll need to customize it with your GitHub user email and name:

  1. Navigate to the .github/workflows/master.yml file in your repository.
  2. Edit the file, replacing "[email protected]" with your email and "dante4rt" with your GitHub username in the Setup Git Configuration step.
  3. Commit your changes.

Viewing Workflow Runs

To view the history of workflow runs:

  1. Navigate to the Actions tab of your repository.
  2. Select the Automated-Commit workflow to see details of each run.

Manually Triggering the Workflow

You can manually trigger the workflow:

  1. Go to the Actions tab of your repository.
  2. Select the Automated-Commit workflow.
  3. Click Run workflow, select master, and click Run workflow again.

Contributing

Contributions are welcome! Feel free to fork the repository, make your changes, and submit a pull request.

Support

For issues or questions, please file an issue in the Issues section of the repository.

Thank you for exploring the Automated-Commit workflow!