Skip to content

adobe-rnd/github-touch-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Github Trigger CI Action

This action creates a dummy, empty commit when a commit is pushed by another user. this can be used to trigger a CI workflow with a different user.

Inputs

user

Required The username of the person to impersonate

repo-token

Required A github token to issue the dummy commit.

Example usage

on:
  push:
    branches-ignore:
      - 'master'

jobs:
  ci_trigger:
    runs-on: ubuntu-latest
    name: Impersonated CI Trigger
    steps:
      - name: Trigger
        id: trigger
        uses: adobe-rnd/github-touch-action@master
        with:
          repo-token: ${{ secrets.MY_GITHUB_TOKEN }}
          user: tripod-alt

Development

build and deploy

$ npm run build
$ git commit -am"...."
$ npm release

Releases

No releases published

Packages

No packages published