veggiemonk / Skip Commit
Licence: mit
GitHub Action: skip based on the last commit message containing a string
Stars: ✭ 51
Labels
Projects that are alternatives of or similar to Skip Commit
React Native Actions Sheet
A Cross Platform(Android & iOS) ActionSheet with a flexible api, native performance and zero dependency code for react native. Create anything you want inside ActionSheet.
Stars: ✭ 412 (+707.84%)
Mutual labels: action
action
A GitHub Action that deploys live environments for your pull requests and branches
Stars: ✭ 63 (+23.53%)
Mutual labels: action
Ssh Agent
GitHub Action to setup `ssh-agent` with a private key
Stars: ✭ 365 (+615.69%)
Mutual labels: action
Naev
Naev is a 2d action/rpg space game that combines elements from the action, rpg and simulation genres.
Stars: ✭ 482 (+845.1%)
Mutual labels: action
Naming Cheatsheet
Comprehensive language-agnostic guidelines on variables naming. Home of the A/HC/LC pattern.
Stars: ✭ 9,475 (+18478.43%)
Mutual labels: action
Gascontent
Repo to gather all Gameplay Ability System content for UE4
Stars: ✭ 398 (+680.39%)
Mutual labels: action
Ftp Deploy Action
Deploys a GitHub project to a FTP server using GitHub actions
Stars: ✭ 756 (+1382.35%)
Mutual labels: action
Golangci Lint Action
Official GitHub action for golangci-lint from it's authors
Stars: ✭ 270 (+429.41%)
Mutual labels: action
Ctrpf Ar Cheat Codes
[Database] CTRPF AR CHEAT CODES TO BE USED WITH CTRPF WITH ACTION REPLAY SUPPORT
Stars: ✭ 310 (+507.84%)
Mutual labels: action
Redux Ecosystem Links
A categorized list of Redux-related addons, libraries, and utilities
Stars: ✭ 5,076 (+9852.94%)
Mutual labels: action
Minisauras
An open-source CI/CD automation tool based on GitHub Actions that pulls all the JavaScript and CSS files from your base branch, minify them and creates a pull-request with a new branch.
Stars: ✭ 40 (-21.57%)
Mutual labels: action
github-run-tests-action
mabl Github Actions implementation
Stars: ✭ 39 (-23.53%)
Mutual labels: action
Rest In Action
REST in Action 《REST 实战》。基于 Jersey 构建 RESTful 服务。
Stars: ✭ 472 (+825.49%)
Mutual labels: action
Elasticviews
✨ An easy way to implement an elastic touch effect for Android.
Stars: ✭ 588 (+1052.94%)
Mutual labels: action
GitHub Actions to skip based on commit message (UNMAINTAINED)
If the last commit message contains the string skip-ci
, the action will stop.
You might want to check out this repository: https://github.com/styfle/cancel-workflow-action
Just use YAML (recommended)
Thank to @smnbbrv who kindly shared this solution with us here
jobs:
main:
name: Build and test
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'ci skip')"
Just use BASH
- name: should it be skipped?
env:
COMMIT_FILTER: "skip-ci"
run: |
# Get last commit message
readonly local last_commit_log=$(git log -1 --pretty=format:"%s")
echo "last commit log: $last_commit_log"
readonly local filter_count=$(echo "$last_commit_log" | grep -c "$COMMIT_FILTER" )
echo "number of occurence of '$COMMIT_FILTER' in '$last_commit_log': $filter_count"
if [[ "$filter_count" -eq 0 ]]; then
echo "all good, continue"
else
echo "the last commit log \"$last_commit_log\" contains \"$COMMIT_FILTER\", stopping"
exit 78
fi
Or use the container (not recommended / deprecated)
If a commit message contains a string defined as the environment variable $COMMIT_FILTER
, the action will stop.
For example:
action "Skip" {
uses = "veggiemonk/[email protected]"
env = {
COMMIT_FILTER = "skip-ci"
}
}
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].