feat: allowing action to run on non PR triggers

This commit is contained in:
Michael Shick 2020-04-08 16:39:41 -07:00
parent 0dbf59e6db
commit 5aa3ae408c
No known key found for this signature in database
GPG key ID: ADF5BC9704BB4A61
7 changed files with 116 additions and 29 deletions

22
.github/workflows/test-master.yml vendored Normal file
View file

@ -0,0 +1,22 @@
name: "test-local"
on:
push:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Add Comment
uses: ./
with:
message: |
**Hello MASTER!**
🌏
!
repo-token: ${{ secrets.GITHUB_TOKEN }}
allow-repeats: false

View file

@ -7,13 +7,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- run: npm ci
- uses: ./
with:
message: |
**Hello!**
**Hello PULL!**
🌏
!
repo-token: ${{ secrets.GITHUB_TOKEN }}