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
Changes from 1 commit
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
Prev Previous commit
webhook example
  • Loading branch information
krisesantebretagne authored Oct 31, 2024
commit 780468185d78eefa99b86da906ea8bd09116416e
32 changes: 0 additions & 32 deletions .github/workflows/manual.yml

This file was deleted.

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"'
4 changes: 2 additions & 2 deletions github-actions/templates/webhook.yml
Original file line number Diff line number Diff line change
@@ -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"'