| Example Notification | Example Workflow | action.yaml
GitHub Action to monitor changes of a specific user's GitHub Followers. By running this action periodically via GitHub Actions' schedule event, you can detect changes of GitHub Followers and post them to a specific GitHub Issue.
e.g. #1
Please see action.yaml.
This action stores the result of the latest followers into GitHub Container Registry. You need to allow GitHub Access token's owner to access the package.
Oras CLI is used.
- Push a dummy followers.json
https://oras.land/docs/commands/oras_push
echo '{}' > followers.json
oras push "ghcr.io/$GITHUB_REPOSITORY/followers.json:latest" followers.json
If you use GITHUB_TOKEN secret, you need to grant the repository where this action is run to the permission.
Caution
We don't add dist/*.js
in the main branch and feature branches.
So you can't specify main
and feature branches as versions.
# This never works as dist/index.js doesn't exist.
uses: suzuki-shunsuke/monitor-gh-followers-action@main
The following versions are available.
uses: suzuki-shunsuke/monitor-gh-followers-action@v0.1.0
- Pull Request versions: These versions are removed when we feel unnecessary. These versions are used to test pull requests.
uses: suzuki-shunsuke/monitor-gh-followers-action@pr/22
- latest branch: This branch is built by CI when the main branch is updated. Note that we push commits to the latest branch forcibly.
uses: suzuki-shunsuke/monitor-gh-followers-action@latest
Pull Request versions and the latest branch are unstable. These versions are for testing. You should use the latest release version in production.