Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

old changes #146

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/workflows/webhook.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: "Webhook Event example"

on:
repository_dispatch:
types:
- webhook

jobs:
respond-to-dispatch:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Run a script
run: 'echo "Event of type: $GITHUB_EVENT_NAME"'
1 change: 1 addition & 0 deletions github-actions/templates/greetings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
steps:
# https://github.com/actions/first-interaction
- uses: actions/first-interaction@v1
# passes this info to first-interaction for use
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: "Message that will be displayed on users' first issue"
Expand Down
4 changes: 2 additions & 2 deletions github-actions/templates/webhook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
respond-to-dispatch:
runs-on: ubuntu-latest
steps:
- name Checkout repo
- name: Checkout repo
uses: actions/checkout@v2
- name: Run a script
run: echo "Event of type: $GITHUB_EVENT_NAME"
run: 'echo "Event of type: $GITHUB_EVENT_NAME"'