tidev-cla-action
v1.1.0
Published
Checks if a contributor has signed the CLA
Downloads
3
Readme
TiDev CLA GitHub Action
This action can be called from other GitHub workflows as a status check to make sure the CLA has been signed.
Usage
In your project repo, create the file: .github/workflows/cla.yml
name: Check CLA
on:
- pull_request
jobs:
check-cla:
runs-on: ubuntu-latest
name: Verify contributor
steps:
- env:
GITHUB_USER: ${{ github.actor }}
uses: tidev/tidev-cla-action@v1
Releasing a new version
To release a new version we need to bump the version and then recreate the v1
tag. We use the v1
tag to avoid having to update the action in all repositories when a change is made. To do this:
- Bump the version as required using
npm version major|minor|patch
- Recreate the v1 tag using
git tag --force v1
- Delete the tag on the remote
git tag :refs/tags/v1
- Push the commit and updated tags
git push -f --tags