-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2182e03
commit 8dcf0d4
Showing
2 changed files
with
16 additions
and
9 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
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,9 +1,13 @@ | ||
#!/bin/bash | ||
|
||
ID=$(openssl rand -base64 12) | ||
|
||
curl -X POST \ | ||
-H "Authorization: token ${GITHUB_TOKEN}" \ | ||
-H "Accept: application/vnd.github+json" \ | ||
https://api.github.com/repos/acuminous/knuff-github-driver/issues \ | ||
-d '{ | ||
"title": "Label Bug", | ||
"body": "Demonstrates the Label Bug", | ||
"labels": ["l1", "l2", "knuff:test-a3e780fd40034e1502fa", "knuff:2024-12-25"] | ||
}' | ||
-d "{ | ||
\"title\": \"Label Bug\", | ||
\"body\": \"Demonstrates the Label Bug\", | ||
\"labels\": [\"l1\", \"l2\", \"knuff:test-${ID}\", \"knuff:2024-12-25\"] | ||
}" |