Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/adobe-rnd/github-touch-action
Github action used to trigger CI
https://github.com/adobe-rnd/github-touch-action
github-action workflow
Last synced: 3 days ago
JSON representation
Github action used to trigger CI
- Host: GitHub
- URL: https://github.com/adobe-rnd/github-touch-action
- Owner: adobe-rnd
- Created: 2020-04-06T04:18:13.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-12-05T22:35:40.000Z (about 1 year ago)
- Last Synced: 2023-12-05T23:30:00.348Z (about 1 year ago)
- Topics: github-action, workflow
- Language: JavaScript
- Homepage:
- Size: 170 KB
- Stars: 0
- Watchers: 6
- Forks: 1
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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
```sh-session
$ npm run build
$ git commit -am"...."
$ npm release
```