We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent edd288d commit ce56e0aCopy full SHA for ce56e0a
.github/workflows/create-article-from-issue.yml
@@ -43,11 +43,18 @@ jobs:
43
id: extract
44
run: |
45
echo "${{ github.event.issue.body }}" > issue_body.txt
46
+
47
+ cat issue_body.txt
48
49
FILEID=$(grep -oP '(?<=\*\*Google doc\*\*: ).*' issue_body.txt | sed 's|.*\/d/||' | sed 's|/.*||')
50
AUTHOR=$(grep -oP '(?<=\*\*Profile\*\*: ).*' issue_body.txt)
51
TAGS=$(grep -oP '(?<=\*\*Tags\*\*: ).*' issue_body.txt)
52
53
+ echo "Extracted values:"
54
+ echo "File ID: $FILEID"
55
+ echo "Author: $AUTHOR"
56
+ echo "Tags: $TAGS"
57
58
echo "fileid=$FILEID" >> "$GITHUB_OUTPUT"
59
echo "author=$AUTHOR" >> "$GITHUB_OUTPUT"
60
echo "tags=$TAGS" >> "$GITHUB_OUTPUT"
0 commit comments