-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'git-commit-push-action-12567092338-macos-full-remote' i…
…nto macos
- Loading branch information
Showing
5 changed files
with
48 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: 74 - N8N Integration | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
name: | ||
description: "Name" | ||
required: false | ||
default: "John Doe" | ||
email: | ||
description: "Email" | ||
required: false | ||
default: "[email protected]" | ||
message: | ||
description: "Message" | ||
required: false | ||
default: "Hello, this is a test message!" | ||
|
||
jobs: | ||
n8n-integration: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Send POST request to N8N workflow using cURL to open an issue on this repository | ||
env: | ||
WORKFLOW_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} | ||
run: | | ||
echo "Workflow URL: $WORKFLOW_URL" | ||
curl -X POST https://${{secrets.N8N_ACCOUNT}}.app.n8n.cloud/webhook/${{ secrets.N8N_PATH}} \ | ||
-H "Content-Type: application/json" \ | ||
-d '{ | ||
"name": "${{ inputs.name }}", | ||
"email": "${{ inputs.email }}", | ||
"message": "${{ inputs.message }}", | ||
"workflow_url": "${{ env.WORKFLOW_URL }}" | ||
}' \ | ||
--fail --show-error | ||
if [ $? -ne 0 ]; then | ||
echo "Error: cURL request failed." | ||
exit 1 | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
Mon Dec 30 01:43:00 UTC 2024 | ||
Tue Dec 31 01:39:45 UTC 2024 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
Fri Dec 27 06:29:53 UTC 2024 | ||
Mon Dec 30 06:31:04 UTC 2024 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
Tue Dec 31 04:17:06 UTC 2024 | ||
Wed Jan 1 04:17:22 UTC 2025 |