Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/trieloff/semantic-release-comment-action
Touch a file when a PR from a user is created
https://github.com/trieloff/semantic-release-comment-action
Last synced: 27 days ago
JSON representation
Touch a file when a PR from a user is created
- Host: GitHub
- URL: https://github.com/trieloff/semantic-release-comment-action
- Owner: trieloff
- Created: 2020-03-02T09:42:03.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-03-04T08:52:52.000Z (over 4 years ago)
- Last Synced: 2024-10-07T17:50:35.899Z (about 1 month ago)
- Language: JavaScript
- Size: 825 KB
- Stars: 0
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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: tripodsan/[email protected]
with:
repo-token: ${{ secrets.MY_GITHUB_TOKEN }}
user: tripod-alt
```# Development
## build and deploy
```sh-session
$ npm run build
$ git commit -am"...."
$ npm release
```