action-get-latest-tag
changed-files
action-get-latest-tag | changed-files | |
---|---|---|
1 | 6 | |
46 | 1,521 | |
- | 3.7% | |
0.0 | 9.8 | |
17 days ago | 3 days ago | |
Shell | TypeScript | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
action-get-latest-tag
-
Git 2.30.3 will not operate in non-owned directories
This certainly came as a surprise to my team today.
We operate some number of repositories and the majority of them use https://github.com/actions-ecosystem/action-get-latest-tag - or more specifically, a fork of that repo which more or less works the same way.
Midday today our CI/CD started failing. We must have hit this so soon because the `apk add git` in that Dockerfile grabbed the new git version. Evidently the SID that ultimately executed the git command inside the included actions' dockerfile was not the same as the one that owned `/github/workspace` on the runner.
We were able to patch around using the new `safe.directory` option, but I'm curious to see if there's more fallout since CI/CD environments in particular had benefit from this sort of shared repository.
changed-files
-
Why it is Important to Update Linters and How to Do it Right
We need to add two additional steps. The first one is to retrieve all new files, and the second one is to run the enhanced config only on the new files. In this example the third-party GitHub Action called changed-files is used to obtain the new files. In the GitHub Marketplace for Actions, there is a considerable number of similar actions with similar functionality. You can choose the one that suits you best, as the functionality is more or less the same for all of them.
-
Attempting a larger bug fix II - Execution
I determined this after dozens of attempts working with the other GitHub Action, tj-actions/changed-files which feeds a list of modified files to clang-format-lint.
-
Yarn workspaces/monorepo and CI/CD
GitHub actions has actions that do similar, I’ve used this one before with great success: https://github.com/tj-actions/changed-files
-
Turborepo + GitHub Actions
You could also clean up your changed files job by using this (https://github.com/tj-actions/changed-files) or something similar. That would at least make it easier to understand what it's supposed to be doing. You can use it to get the directories containing any changed package.json files. Then use that output as as a matrix input.
- GitHub Actions Pitfalls
-
GitHub Action to run mypy on changed files only
View on GitHub
What are some alternatives?
ansible-lint-action - ❗️Replaced by https://github.com/marketplace/actions/run-ansible-lint
actionlint - :octocat: Static checker for GitHub Actions workflow files
nested-github-runners-action - GitHub Action to run multiple self-hosted runners in a hosted GitHub Runner
Image-Optimizer-Action - A Github Action to optimize / compress images in your repository
gh-token - Manage installation access tokens for GitHub apps from your terminal 💻
paths-filter - Conditionally run actions based on files modified by PR, feature branch or pushed commits
template.github.semver - Template for Projects that use Github Actions and Hooks to enforce Semantic Versioning
runner-images - GitHub Actions runner images
winget-pkgs - The Microsoft community Windows Package Manager manifest repository
direnv - unclutter your .profile